chiark / gitweb /
Cope with moved changelogs.
authorian <ian>
Sat, 30 Jan 1999 21:44:37 +0000 (21:44 +0000)
committerian <ian>
Sat, 30 Jan 1999 21:44:37 +0000 (21:44 +0000)
configure.in
debian/rules

index 4eb36c0..a97feae 100644 (file)
@@ -147,7 +147,7 @@ fi
 [CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"]
 
 AC_SUBST(VERSION)
-VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' Changelog`"
+VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' debian/changelog`"
 echo will build version $VERSION
 
 AC_OUTPUT(Makefile)
index 225bcfc..465d2a7 100755 (executable)
@@ -38,11 +38,11 @@ binary-arch:        checkroot build
                VEREXT=$(verext) \
                prefix=debian/tmp/usr etcdir=debian/tmp/etc install
        cp debian/copyright debian/tmp/usr/doc/$(package)/.
-       cp debian/changelog debian/tmp/usr/doc/$(package)/changelog.Debian
+       cp debian/changelog debian/tmp/usr/doc/$(package)/changelog
        cp README debian/tmp/usr/doc/$(package)/README.upstream
-       cp Changelog debian/tmp/usr/doc/$(package)/changelog
        cp system.default system.override debian/tmp/usr/doc/$(package)/examples
-       gzip -9v debian/tmp/usr/doc/$(package)/changelog{,.Debian}
+       gzip -9v debian/tmp/usr/doc/$(package)/changelog
+       ln -s changelog.gz debian/tmp/usr/doc/$(package)/changelog.Debian.gz
        cp -a spec.html debian/tmp/usr/doc/$(package)/
        dpkg-shlibdeps daemon client
        dpkg-gencontrol