Przeglądaj źródła

Drop emacs byte-compiling support

Wichert Akkerman 26 lat temu
rodzic
commit
14c9e2a41f
6 zmienionych plików z 11 dodań i 42 usunięć
  1. 4 0
      ChangeLog
  2. 1 1
      configure.in
  3. 6 0
      debian/changelog
  4. 0 24
      debian/emacsen-common-install
  5. 0 11
      debian/emacsen-common-remove
  6. 0 6
      debian/rules

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Tue Dec  7 17:41:17 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+  * Drop the emacs bytecompile-stuff completely
+
 Tue Dec  7 14:08:21 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Fix display of copyright in menu

+ 1 - 1
configure.in

@@ -77,7 +77,7 @@ AC_CHECK_PROG(RM,rm,rm -f)
 AC_CHECK_PROG(SED,sed,sed)
 AC_PROG_INSTALL
 dnl Default in case EMACS == no
-lispdir="\$(datadir)/emacs/site-lisp/$PACKAGE"
+lispdir="\$(datadir)/emacs/site-lisp/"
 AM_PATH_LISPDIR
 AC_MODE_T
 AC_PID_T

+ 6 - 0
debian/changelog

@@ -1,3 +1,9 @@
+dpkg (1.6.4) unstable; urgency=low
+
+  * No longer byte-compile for emacs
+
+ -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
+
 dpkg (1.6.3) unstable; urgency=high
 
   * Comment dselect changes from 1.6.2, they seem to have a problem

+ 0 - 24
debian/emacsen-common-install

@@ -1,24 +0,0 @@
-#!/bin/sh
-set -e
-
-FLAVOR=$1
-PACKAGE=dpkg
-
-ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
-ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-files="debian-changelog-mode.el"
-flags="-batch --no-site-file -l path.el -f batch-byte-compile"
-
-if [ ${FLAVOR} != emacs ]; then
-  echo install/${PACKAGE}: Byte-compiling for ${FLAVOR}
-
-  install -m 755 -d ${ELCDIR}
-  cd ${ELDIR}
-  cp ${files} ${ELCDIR}
-  cd ${ELCDIR}
-  cat << EOF > path.el
-(setq load-path (cons "." load-path) byte-compile-warnings nil)
-EOF
-  ${FLAVOR} ${flags} ${files}
-  rm -f *.el path.el
-fi

+ 0 - 11
debian/emacsen-common-remove

@@ -1,11 +0,0 @@
-#!/bin/sh
-set -e
-
-FLAVOR=$1
-PACKAGE=dpkg
-
-if [ ${FLAVOR} != emacs ]; then
-  echo remove/${PACKAGE}: Purging byte-compiled files for ${FLAVOR}
-  rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-  rm -f /etc/${FLAVOR}/site-start.d/50dpkg-dev.el
-fi

+ 0 - 6
debian/rules

@@ -166,12 +166,6 @@ binary-dpkg-dev: stamp-binary
 	install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/etc/emacs/site-start.d
 	install -p -m 644 -o root -g root debian/50dpkg-dev.el \
 		$(TMP_DPKG_DEV)/etc/emacs/site-start.d
-	install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/lib/emacsen-common/packages/install
-	install -p -m 755 -o root -g root debian/emacsen-common-install \
-		$(TMP_DPKG_DEV)/usr/lib/emacsen-common/packages/install
-	install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/usr/lib/emacsen-common/packages/remove
-	install -p -m 755 -o root -g root debian/emacsen-common-remove \
-		$(TMP_DPKG_DEV)/usr/lib/emacsen-common/packages/remove
 
 # Final package creation
 	install -d -m 755 -o root -g root $(TMP_DPKG_DEV)/DEBIAN