diff options
author | Wichert Akkerman <wakkerma@debian.org> | 1999-12-16 23:43:40 +0000 |
---|---|---|
committer | Wichert Akkerman <wakkerma@debian.org> | 1999-12-16 23:43:40 +0000 |
commit | da7f9947d8b8bf8a934febd5240c25860f042ae2 (patch) | |
tree | 78e02cbf4ff8a12478db76350a4174ba266fcb2f | |
parent | dc410dca4cb9409214f83393221854d61d780a90 (diff) | |
download | dpkg-da7f9947d8b8bf8a934febd5240c25860f042ae2.tar.gz |
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
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | Makefile.conf.in | 4 | ||||
-rw-r--r-- | configure.in | 13 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rw-r--r-- | scripts/debian-changelog-mode.el | 2 | ||||
-rwxr-xr-x | scripts/dpkg-name.sh | 2 |
6 files changed, 28 insertions, 5 deletions
@@ -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 diff --git a/Makefile.conf.in b/Makefile.conf.in index 05fa4c13d..15ae74644 100644 --- a/Makefile.conf.in +++ b/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 diff --git a/configure.in b/configure.in index ab00fcdf8..57a337f6a 100644 --- a/configure.in +++ b/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 diff --git a/debian/rules b/debian/rules index a7da4e5d7..ebdbf9cc8 100755 --- a/debian/rules +++ b/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) diff --git a/scripts/debian-changelog-mode.el b/scripts/debian-changelog-mode.el index d6b9fb382..9a73eeb40 100644 --- a/scripts/debian-changelog-mode.el +++ b/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. diff --git a/scripts/dpkg-name.sh b/scripts/dpkg-name.sh index fc4c2371a..ac6aec8e2 100755 --- a/scripts/dpkg-name.sh +++ b/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 () { |