AC_CHECK_PROG(SED,sed,sed)
AC_PROG_INSTALL
dnl Default in case EMACS == no
-lispdir="\$(prefix)/emacs/site-lisp/$PACKAGE"
+lispdir="\$(datadir)/emacs/site-lisp/$PACKAGE"
AM_PATH_LISPDIR
AC_MODE_T
AC_PID_T
install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/bin
mv $(TMP)/usr/lib/dpkg/parsechangelog $(TMP_DPKG_DEV)/usr/lib/dpkg/
mv $(TMP)/usr/lib/dpkg/controllib.pl $(TMP_DPKG_DEV)/usr/lib/dpkg/
- mv $(TMP)/usr/share/emacs $(TMP_DPKG_DEV)/usr/share/dpkg/
+ mv $(TMP)/usr/share/emacs $(TMP_DPKG_DEV)/usr/share/
set -e ; for i in dpkg-name dpkg-source dpkg-genchanges dpkg-gencontrol \
dpkg-shlibdeps dpkg-buildpackage dpkg-distaddfile 822-date \
dpkg-scanpackages dpkg-scansources dpkg-architecture \