[libgraph-perl] 09/14: Use dh(1).
gregor herrmann
gregoa at debian.org
Sat Sep 19 20:09:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libgraph-perl.
commit fbe6bea21498b1c122bb763b951ab67eacf155df
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Sep 19 21:51:19 2015 +0200
Use dh(1).
Closes: #799484
---
debian/libgraph-perl.docs | 1 +
debian/rules | 53 ++---------------------------------------------
2 files changed, 3 insertions(+), 51 deletions(-)
diff --git a/debian/libgraph-perl.docs b/debian/libgraph-perl.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/libgraph-perl.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index 3ba45fa..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,53 +1,4 @@
#!/usr/bin/make -f
-#export DH_VERBOSE=1
-
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL=/usr/bin/perl
-endif
-
-TMP =$(CURDIR)/debian/$(PACKAGE)
-
-build: build-arch build-indep
-build-indep: Makefile
-build-arch:
-Makefile:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-O2 -g -Wall"
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
- dh_clean
-
-install:
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
- $(MAKE) install DESTDIR=$(TMP)
-
-
-binary-arch:
-
-binary-indep: build-arch install
- dh_testdir
- dh_testroot
- dh_installdocs README
- dh_installchangelogs Changes
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_perl
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libgraph-perl.git
More information about the Pkg-perl-cvs-commits
mailing list