[libsocket6-perl] 06/15: Reduce debian/rules to minimal format

Daniel Lintott dlintott-guest at moszumanska.debian.org
Sat Feb 15 22:12:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

dlintott-guest pushed a commit to branch master
in repository libsocket6-perl.

commit e4c2b323739aed2a753b3221b420f712e4b63ffa
Author: Daniel Lintott <daniel at serverb.co.uk>
Date:   Sat Feb 15 19:55:12 2014 +0000

    Reduce debian/rules to minimal format
---
 debian/rules | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/debian/rules b/debian/rules
index c881503..3e94020 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,30 +1,5 @@
 #!/usr/bin/make -f
 
-PACKAGE=$(shell dh_listpackages)
-
-ifndef PERL
-PERL = /usr/bin/perl
-endif
-
 %:
 	dh "$@"
 
-override_dh_auto_configure:
-	$(PERL) Makefile.PL INSTALLDIRS=vendor LDDLFLAGS="-shared -L/usr/local/lib -fstack-protector $(LDFLAGS)"
-
-override_dh_auto_build:
-	$(MAKE) OPTIMIZE="$(CFLAGS) $(CPPFLAGS)" LD_RUN_PATH=""
-
-override_dh_auto_clean:
-	dh_clean
-	rm -rf blib config.h config.log config.pl config.status gailookup.pl pm_to_blib MYMETA.yml Socket6.bs Socket6.c *.o
-	dh_auto_clean
-
-override_dh_auto_install:
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)
-
-override_dh_installdocs:
-	dh_installdocs README
-
-override_dh_installexamples:
-	dh_installexamples im-140.diff ftpmirror-1.96.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libsocket6-perl.git



More information about the Pkg-perl-cvs-commits mailing list