[SCM] Debian packaging of Text-BibTeX CPAN distribution branch, master, updated. debian/0.38-1-15-gb6be848
gregor herrmann
gregoa at debian.org
Fri Sep 2 22:03:04 UTC 2011
The following commit has been merged in the master branch:
commit d1afc47fe6d9a6b586649361b31e3f5db00bd99f
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Sep 2 23:53:48 2011 +0200
Use tiny debian/rules, and debhelper 8 compat level.
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..45a4fb7 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+8
diff --git a/debian/rules b/debian/rules
index 385cd4c..a106f51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,89 +1,14 @@
#!/usr/bin/make -f
-#
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
+%:
+ dh $@
-include /usr/share/dpatch/dpatch.make
+override_dh_auto_clean:
+ dh_auto_clean
+ $(RM) -r $(CURDIR)/btparse
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp: patch-stamp
- dh_testdir
-
- # build the package
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
-
- touch build-stamp
-
-clean: clean-patched unpatch
-clean-patched:
- dh_testdir
- dh_testroot
-
- [ ! -f Makefile ] || $(MAKE) realclean
- -rm -rf btparse
-
- dh_clean build-stamp install-stamp
-
-test:
- @echo '#######################################################'
- @echo 'RUNNING TESTS'
- @echo '#######################################################'
- # make a link for the test bibtex files from libbtparse
- mkdir -p -m0755 btparse/tests/
- -rm -f btparse/tests/data
- ln -s ../../debian/test-data btparse/tests/data
- $(MAKE) test
-
-install: install-stamp
-install-stamp: build-stamp test
- dh_testdir
- dh_testroot
- dh_clean -k
-
- # install files
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-
- touch install-stamp
-
-binary-arch: install-stamp
- dh_testdir
- dh_testroot
- dh_installchangelogs CHANGES
- dh_installdocs
- dh_installexamples
- dh_install
- dh_installman
- dh_makeshlibs
- dh_perl
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-
-source diff:
- @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
-binary: binary-indep binary-arch
-
-.PHONY: build clean clean-patched binary-indep binary-arch binary
-
-# vim:ft=make:fileencoding=utf-8:ts=4:
+override_dh_auto_test:
+ mkdir -p -m0755 $(CURDIR)/btparse/tests/
+ $(RM) $(CURDIR)/btparse/tests/data
+ ln -s ../../debian/test-data btparse/tests/data
+ dh_auto_test
--
Debian packaging of Text-BibTeX CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list