* Use debhelper v2 for debian/rules, but not when converting

packages to deb format.
This commit is contained in:
joey
2000-09-25 19:41:23 +00:00
parent 2e2a7060af
commit aef9b880c7
3 changed files with 17 additions and 7 deletions

7
debian/changelog vendored
View File

@@ -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 <joeyh@debian.org> Mon, 25 Sep 2000 12:36:25 -0700
alien (7.7) unstable; urgency=low
* Corrected return code of system check.

2
debian/control vendored
View File

@@ -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

15
debian/rules vendored
View File

@@ -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