[libogg-vorbis-header-perl] 04/10: Switch to short-form debian/rules
Florian Schlichting
fsfs at moszumanska.debian.org
Thu Mar 6 12:17:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
fsfs pushed a commit to branch master
in repository libogg-vorbis-header-perl.
commit 276712151801706aa3cf02b15c56233d35585e20
Author: Florian Schlichting <fsfs at debian.org>
Date: Thu Mar 6 12:54:13 2014 +0100
Switch to short-form debian/rules
---
debian/libogg-vorbis-header-perl.examples | 3 ++
debian/rules | 79 +------------------------------
2 files changed, 5 insertions(+), 77 deletions(-)
diff --git a/debian/libogg-vorbis-header-perl.examples b/debian/libogg-vorbis-header-perl.examples
new file mode 100644
index 0000000..ce03548
--- /dev/null
+++ b/debian/libogg-vorbis-header-perl.examples
@@ -0,0 +1,3 @@
+test.pl
+test.ogg
+test.ogg.bak
diff --git a/debian/rules b/debian/rules
index d4e85ac..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,79 +1,4 @@
#!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/quilt/quilt.make
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP = $(CURDIR)/debian/$(PACKAGE)
-
-# Allow disabling build optimisation by setting noopt in
-# $DEB_BUILD_OPTIONS
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-# Do not delete the test.ogg.bak file; it's present in the upstream
-KEEP_ITEMS = test.ogg.bak
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH=""
- $(MAKE) test
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- dh_clean --exclude=$(KEEP_ITEMS) build-stamp install-stamp
- [ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
- dh_testdir
- dh_testroot
- dh_clean -k --exclude=$(KEEP_ITEMS)
- $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
- [ ! -d $(TMP)/usr/share/perl5 ] || \
- rmdir --ignore-fail-on-non-empty --parents --verbose \
- $(TMP)/usr/share/perl5
- touch $@
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do here for an architecture-dependent package
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installdocs
- dh_installexamples test.pl test.ogg test.ogg.bak
- dh_installchangelogs Changes
- dh_shlibdeps
- dh_strip
- dh_perl
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libogg-vorbis-header-perl.git
More information about the Pkg-perl-cvs-commits
mailing list