diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rwxr-xr-x | debian/rules | 52 |
3 files changed, 36 insertions, 23 deletions
diff --git a/debian/changelog b/debian/changelog index 017ad5e..a0c45d3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +ivy-perl (4.21-3) unstable; urgency=low + + * Compat version 4 + + -- Olivier Fourdan <fourdan@cena.fr> Thu, 18 Jan 2007 09:06:23 +0100 + ivy-perl (4.21-2) unstable; urgency=low * Update package for Debian Etch diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/rules b/debian/rules index 90f7fd0..bcc887c 100755 --- a/debian/rules +++ b/debian/rules @@ -2,35 +2,43 @@ # Made with the aid of debmake, by Christoph Lameter, # based on the sample debian/rules file for GNU hello by Ian Jackson. -package=ivy-perl - ifndef PERL PERL=/usr/bin/perl endif -TMP=`pwd`/debian/tmp -archlib = `$(PERL) -MConfig -e 'print $$Config{installarchlib}'` -#config = INSTALLDIRS=perl INSTALLMAN1DIR=$(TMP)/usr/man/man1 INSTALLMAN3DIR=$(TMP)/usr/man/man3 INSTALLPRIVLIB=$(TMP)/usr/lib/perl5 INSTALLARCHLIB=$(TMP)$(archlib) INSTALLSCRIPT=$(TMP)/usr/bin +export DH_VERBOSE=1 +package=ivy-perl -build: - $(checkdir) - $(PERL) Makefile.PL INSTALLDIRS=vendor FULLPERL="PERL_DL_NONLAZY=0 /usr/bin/perl" +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=perl "FULLPERL=PERL_DL_NONLAZY=0 perl" $(MAKE) $(MAKE) test touch build + touch build-stamp clean: - $(checkdir) - -rm -f build + dh_testdir + dh_testroot + dh_clean + -rm -f pod2html-*cache + -rm -f build build-stamp configure-stamp -$(MAKE) clean - -rm -f `find . -name "*~"` - -rm -rf debian/tmp debian/files* core debian/substvars -install: - $(checkdir) - -rm -rf debian/tmp - install -d debian/tmp/usr - $(MAKE) pure_install PREFIX=$(TMP)/usr +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/$(package) PREFIX=/usr pure_install + binary-indep: build install binary-arch: build install dh_testdir @@ -38,9 +46,9 @@ binary-arch: build install dh_installchangelogs dh_installdocs dh_installexamples - dh_install --source=$(CURDIR)/debian/tmp + dh_install --source=$(CURDIR)/debian/$(package) # dh_installmenu -# dh_installdebconf +# dh_installdebconf # dh_installlogrotate # dh_installemacsen # dh_installpam @@ -53,7 +61,7 @@ binary-arch: build install dh_strip dh_compress dh_fixperms -# dh_perl + dh_perl # dh_python # dh_makeshlibs dh_installdeb @@ -62,9 +70,7 @@ binary-arch: build install dh_md5sums dh_builddeb -# Below here is fairly generic really - -binary: binary-indep binary-arch +binary: binary-indep binary-arch checkroot: $(checkdir) |