[SCM] Debian packaging of File-ShareDir CPAN distribution branch, master, updated. debian/1.00-0.1-8-g947061e
Joenio Costa
joenio at colivre.coop.br
Wed Mar 27 00:27:17 UTC 2013
The following commit has been merged in the master branch:
commit 5e784807ffeea1433541afae3037a173ddc1ac7b
Author: Joenio Costa <joenio at colivre.coop.br>
Date: Wed Mar 27 00:18:13 2013 +0000
using simple debhelper rule
diff --git a/debian/rules b/debian/rules
index 79c6c0a..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,66 +1,4 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
-
-export PERL_MM_USE_DEFAULT=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- $(PERL) Makefile.PL INSTALLDIRS=vendor \
- INSTALLVENDORARCH=/usr/share/perl5/ \
- VENDORARCHEXP=/usr/share/perl5/
- $(MAKE)
- $(MAKE) test
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
-
- dh_clean build-stamp install-stamp
-
- [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k
-
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- chmod -x $(TMP)/usr/share/perl5/auto/share/dist/File-ShareDir/subdir/sample.txt
- chmod -x $(TMP)/usr/share/perl5/auto/share/dist/File-ShareDir/sample.txt
- touch $@
-
-binary-arch:
-
-binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installexamples
- dh_installdocs
- dh_installchangelogs Changes
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- 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 binary-indep binary-arch binary
+%:
+ dh $@
--
Debian packaging of File-ShareDir CPAN distribution
More information about the Pkg-perl-cvs-commits
mailing list