[libproc-syncexec-perl] 04/16: Import Debian changes 1.00-2

Christoph Biedl debian.axhn at manchmal.in-ulm.de
Sun Aug 6 01:14:11 UTC 2017


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

cbiedl-guest pushed a commit to branch master
in repository libproc-syncexec-perl.

commit 05f7e99cf494034f8caa8a7b56b7cfbc371b73fd
Author: Roderick Schertler <roderick at argon.org>
Date:   Tue Jul 31 10:25:50 2001 -0400

    Import Debian changes 1.00-2
---
 debian/control |  3 ++-
 debian/rules   | 51 ++++++++++++++++++++++-----------------------------
 2 files changed, 24 insertions(+), 30 deletions(-)

diff --git a/debian/control b/debian/control
index 1990403..a6a0cdd 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,8 @@ Source: libproc-syncexec-perl
 Section: interpreters
 Priority: optional
 Maintainer: Roderick Schertler <roderick at argon.org>
-Standards-Version: 3.0.0
+Standards-Version: 3.5.2
+Build-Depends: debhelper (>= 3.0.5), perl (>= 5.6.0-16)
 
 Package: libproc-syncexec-perl
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 26f9cd4..9c1efa4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,28 +1,24 @@
 #!/usr/bin/make -f
 
-# $Id: rules,v 1.2 1999/07/14 18:49:41 roderick Exp $
+# $Id: rules,v 1.4 2001/07/31 14:27:19 roderick Exp $
 
-dt		:= debian/tmp
+dt		:= debian/libproc-syncexec-perl
 prefix		 = `pwd`/$(dt)
 stamp_build	:= debian/stamp.build
 stamp_install	:= debian/stamp.install
 clean		:= $(stamp_build) $(stamp_install)
 
-ifndef PERL
-    PERL	:= perl
+ifneq "" "$(findstring debug,$(DEB_BUILD_OPTIONS))"
+    CFLAGS		+= -g
 endif
-
-# Setting PREFIX at Makefile generation time loses because it might or
-# might not match *perl*.  If it does the resulting hierarchy is wrong.
-# So, set it at install time, after the structure of the hierarchy has
-# been determined.  Since I have to add variables at install time anyway
-# I set them all there.
+export DH_COMPAT	:= 3
+PERL			?= perl
 
 build: $(stamp_build)
 $(stamp_build):
 	dh_testdir
-	$(PERL) Makefile.PL
-	$(MAKE)
+	$(PERL) Makefile.PL INSTALLDIRS=vendor
+	$(MAKE) OPTIMIZE="-O2 -Wall $(CFLAGS)"
 	$(MAKE) test
 	touch $@
 
@@ -32,49 +28,46 @@ $(stamp_install): $(stamp_build)
 	dh_testroot
 	dh_clean -k
 	dh_installdirs
-    # XXX remove INSTALLPRIVLIB when the Perl packages are fixed
-	$(MAKE) \
-		PREFIX=$(prefix)/usr \
-		INSTALLPRIVLIB=$(prefix)/usr/lib/perl5 \
-		INSTALLMAN1DIR=$(prefix)/usr/man/man1 \
-		INSTALLMAN3DIR=$(prefix)/usr/man/man3 \
-	    pure_perl_install
+	$(MAKE) install PREFIX=$(prefix)/usr
+	find $(prefix) -depth -type d -print0 | \
+	    xargs -0r rmdir --ignore-fail-on-non-empty
 	touch $@
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f $(clean)
 	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean
+	dh_clean $(clean)
 
+binary: binary-indep binary-arch
+binary-arch:
 binary-indep: $(stamp_install)
-
-binary-arch: $(stamp_install)
-#	dh_testversion
 	dh_testdir
 	dh_testroot
+#	dh_installdebconf
 	dh_installdocs README
 	dh_installexamples
 	dh_installmenu
+#	dh_installlogrotate
 #	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
 #	dh_installinit
 	dh_installcron
-	dh_installmanpages
+	dh_installman
+	dh_installinfo
 #	dh_undocumented
 	dh_installchangelogs Changes
+	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_suidregister
+#	dh_makeshlibs
 	dh_installdeb
 	dh_perl
 	dh_shlibdeps
 	dh_gencontrol -u -isp
-#	dh_makeshlibs
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-
 .PHONY: build install clean binary-indep binary-arch binary

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



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