[libbsd-arc4random-perl] 10/11: rules: use dh7-tiny style

Damyan Ivanov dmn at moszumanska.debian.org
Wed Feb 12 10:29:56 UTC 2014


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

dmn pushed a commit to branch master
in repository libbsd-arc4random-perl.

commit 99a13cfe526fe16e78156bdf2fa83003d95d2239
Author: Damyan Ivanov <dmn at debian.org>
Date:   Wed Feb 12 10:26:35 2014 +0000

    rules: use dh7-tiny style
    
    drop README from the docs as redundant
    lose changelog.Debian.$ARCH.gz from the binary package
---
 debian/libbsd-arc4random-perl.docs |  1 +
 debian/rules                       | 69 ++------------------------------------
 2 files changed, 3 insertions(+), 67 deletions(-)

diff --git a/debian/libbsd-arc4random-perl.docs b/debian/libbsd-arc4random-perl.docs
new file mode 100644
index 0000000..1333ed7
--- /dev/null
+++ b/debian/libbsd-arc4random-perl.docs
@@ -0,0 +1 @@
+TODO
diff --git a/debian/rules b/debian/rules
index ad44300..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,69 +1,4 @@
 #!/usr/bin/make -f
-# $MirOS: contrib/hosted/tg/deb/libbsd-arc4random-perl/debian/rules,v 1.16 2012/03/11 23:21:55 tg Exp $
 
-EXTRA_CFLAGS=		-Wall -Wextra -Wformat -Wno-unused-variable
-#EXTRA_CPPFLAGS=
-#EXTRA_LDFLAGS=
-ifeq (,$(wildcard /usr/share/dpkg/buildflags.mk))
-CFLAGS=			-O$(if $(findstring noopt,${DEB_BUILD_OPTIONS}),0,2) -g
-CFLAGS+=		${EXTRA_CFLAGS}
-#CPPFLAGS+=		${EXTRA_CPPFLAGS}
-#LDFLAGS+=		${EXTRA_LDFLAGS}
-else
-DEB_CFLAGS_MAINT_APPEND=${EXTRA_CFLAGS}
-#DEB_CPPFLAGS_MAINT_APPEND=${EXTRA_CPPFLAGS}
-#DEB_LDFLAGS_MAINT_APPEND=${EXTRA_LDFLAGS}
-# drop PIE as this builds a shared library
-DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
-include /usr/share/dpkg/buildflags.mk
-endif
-
-build build-arch: builddir/.build-stamp
-build-indep:
-
-builddir/.build-stamp:
-	dh_testdir
-	-rm -rf builddir
-	mkdir builddir
-	tar -cf - $$(cat MANIFEST) | (cd builddir; tar -xf -)
-	CFLAGS='${CFLAGS}'; CPPFLAGS='${CPPFLAGS}'; LDFLAGS='${LDFLAGS}'; \
-	    cd builddir && exec perl Makefile.PL verbose INSTALLDIRS=vendor \
-	    OPTIMIZE="$$CFLAGS $$CPPFLAGS" \
-	    LD="$$(perl -V::ld:) $$CFLAGS $$LDFLAGS"
-	cd builddir && exec ${MAKE}
-ifeq (,$(filter nocheck,${DEB_BUILD_OPTIONS}))
-	cd builddir && exec ${MAKE} test
-endif
-	@:>$@
-
-clean:
-	dh_testdir
-	dh_testroot
-	-rm -rf builddir
-	dh_clean
-
-binary: binary-indep binary-arch
-binary-indep:
-
-binary-arch: builddir/.build-stamp
-	dh_testdir
-	dh_testroot
-	if test -x "$$(which dh_prep)"; then dh_prep; else dh_clean -k; fi
-	cd builddir && exec ${MAKE} install \
-	    DESTDIR=${CURDIR}/debian/libbsd-arc4random-perl
-	dh_installchangelogs
-	dh_installdocs README TODO
-	dh_install
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_perl
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-.PHONY: binary binary-arch binary-indep build build-arch build-indep clean
+%:
+	dh $@

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



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