diff --git a/debian/changelog b/debian/changelog index 2319b41..e40a1f4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +alien (7.8) unstable; urgency=low + + * Use debhelper v2 for debian/rules, but not when converting + packages to deb format. + + -- Joey Hess Mon, 25 Sep 2000 12:36:25 -0700 + alien (7.7) unstable; urgency=low * Corrected return code of system check. diff --git a/debian/control b/debian/control index d45c1b6..62753af 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Standards-Version: 3.2.1.0 Package: alien Architecture: all Section: admin -Depends: debhelper (>= 0.88), perl5 | perl (>= 5.004), rpm (>= 2.4.4-2), dpkg-dev, make, cpio +Depends: debhelper (>= 2.1.0), perl5 | perl (>= 5.004), rpm (>= 2.4.4-2), dpkg-dev, make, cpio Suggests: patch, bzip2 Description: Install Red Hat, Stampede, and Slackware Packages with dpkg. Alien allows you to convert Red Hat, Stampede and Slackware Packages into diff --git a/debian/rules b/debian/rules index 9127b5e..6945c99 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,8 @@ #!/usr/bin/make -f +# This is the debhelper compatability version to use. +export DH_COMPAT=2 + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -25,13 +28,13 @@ binary-indep: build dh_testroot dh_clean -k $(MAKE) pure_install INSTALLDIRS=perl \ - PREFIX=$(shell pwd)/debian/tmp/$(shell perl -MConfig -e 'print $$Config{prefix}') \ - INSTALLMAN1DIR=$(shell pwd)/debian/tmp/usr/share/man/man1 \ - INSTALLMAN3DIR=$(shell pwd)/debian/tmp/usr/share/man/man3 \ - INSTALLARCHLIB=$(shell pwd)/debian/tmp/killme \ - VARPREFIX=$(shell pwd)/debian/tmp + PREFIX=$(shell pwd)/debian/alien/$(shell perl -MConfig -e 'print $$Config{prefix}') \ + INSTALLMAN1DIR=$(shell pwd)/debian/alien/usr/share/man/man1 \ + INSTALLMAN3DIR=$(shell pwd)/debian/alien/usr/share/man/man3 \ + INSTALLARCHLIB=$(shell pwd)/debian/alien/killme \ + VARPREFIX=$(shell pwd)/debian/alien # Who does it make this empty directory? Sigh. - rm -rf debian/tmp/killme + rm -rf debian/alien/killme dh_installdocs README gendiff.txt dh_installexamples dh_installchangelogs