Kaynağa Gözat

Makefile.conf.in: use @libdir@ and @admindir@
configure.in: add --with-admindir option and change the default to $libdir/db
debian/rules: add --with-admindir=/var/lib/dpkg
scripts/debian-changelog-mode.el: update location of GPL
scripts/dpkg-name.sh: update location of GPL

Wichert Akkerman 26 yıl önce
ebeveyn
işleme
da7f9947d8
6 değiştirilmiş dosya ile 28 ekleme ve 5 silme
  1. 9 0
      ChangeLog
  2. 2 2
      Makefile.conf.in
  3. 13 0
      configure.in
  4. 2 1
      debian/rules
  5. 1 1
      scripts/debian-changelog-mode.el
  6. 1 1
      scripts/dpkg-name.sh

+ 9 - 0
ChangeLog

@@ -1,3 +1,12 @@
+Fri Dec 17 00:41:50 CET 1999 Wichert Akkerman <wakkerma@debian.org>
+
+  * Makefile.conf.in: use @libdir@ and @admindir@
+  * configure.in: add --with-admindir option and change the default
+    to $libdir/db
+  * debian/rules: add --with-admindir=/var/lib/dpkg
+  * scripts/debian-changelog-mode.el: update location of GPL
+  * scripts/dpkg-name.sh: update location of GPL
+
 Thu Dec 16 15:20:11 CET 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * utils/start-stop-daemon.c: Fix OS-detection for sunos

+ 2 - 2
Makefile.conf.in

@@ -17,14 +17,14 @@ localedir		= $(datadir)/locale
 bindir			= @bindir@
 sbindir			= @sbindir@
 
-libdir			= $(prefix)/lib
+libdir			= @libdir@
 dpkglibdir		= $(libdir)/$(PACKAGE)
 
 methodsdir		= $(dpkglibdir)/methods
 parsechangelogdir	= $(dpkglibdir)/parsechangelog
 elispdir		= @lispdir@
 
-admindir		= /var/lib/$(PACKAGE)
+admindir		= @admindir@
 
 mandir			= @mandir@
 man1dir			= $(mandir)/man1

+ 13 - 0
configure.in

@@ -15,6 +15,19 @@ AC_ARG_WITH(dselect,
  esac])
 AC_SUBST(DSELECTDIR)
 
+admindir="$libdir/db"
+AC_ARG_WITH(admindir,
+[  --with-admindir=DIR     store dpkg database in DIR [LIBDIR/db]],
+[case "$withval" in
+  "" )
+    AC_MSG_ERROR(invalid admindir specified)
+    ;;
+  * )
+    admindir="$withval"
+    ;;
+ esac])
+AC_SUBST(admindir)
+
 AC_CHECK_TOOL_PREFIX
 AC_CANONICAL_SYSTEM
 

+ 2 - 1
debian/rules

@@ -23,7 +23,8 @@ $(BUILD)/config.status:
 		--infodir=/usr/share/info \
 		--sysconfdir=/etc \
 		--sharedstatedir=/var/lib \
-		--localstatedir=/var/lib
+		--localstatedir=/var/lib \
+		--with-admindir=/var/lib/dpkg
 
 clean:
 	$(checkdir)

+ 1 - 1
scripts/debian-changelog-mode.el

@@ -17,7 +17,7 @@
 ;; GNU General Public License for more details.
 ;;
 ;; You should have received a copy of the GNU General Public License
-;; along with your Debian installation, in /usr/doc/copyright/GPL.
+;; along with your Debian installation, in /usr/share/common-licenses/GPL.
 ;; If not, write to the Free Software Foundation, 675 Mass Ave,
 ;; Cambridge, MA 02139, USA.
 

+ 1 - 1
scripts/dpkg-name.sh

@@ -19,7 +19,7 @@ echo "# ${prog} ${version} -- ${purpose}
 # This is distributed in the hope that it will be useful, but
 # WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the file
-# /usr/doc/copyright/GPL for more details."
+# /usr/share/common-licenses/GPL for more details."
 }
 
 stderr () {