[libtext-kakasi-perl] 12/13: dh7 format

Takatsugu Nokubi knok at moszumanska.debian.org
Thu Aug 24 07:32:40 UTC 2017


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

knok pushed a commit to branch master
in repository libtext-kakasi-perl.

commit 147c628fbda2fc95ed8b504c43e4e0c035d01d9c
Author: NOKUBI Takatsugu <knok at daionet.gr.jp>
Date:   Mon Feb 3 09:16:20 2014 +0000

    dh7 format
---
 debian/rules | 81 +++++++++---------------------------------------------------
 1 file changed, 12 insertions(+), 69 deletions(-)

diff --git a/debian/rules b/debian/rules
index 770be59..3850db1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,80 +1,23 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
 
 build: build-stamp
 build-stamp:
-	dh_testdir
-
-	# Add here commands to compile the package.
-	mv Makefile.PL Makefile.PL.orig
-	cp debian/Makefile.PL.debian Makefile.PL
-	/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
-	$(MAKE) LD_RUN_PATH= OPTIMIZE="-O2 -g -Wall"
-
-	touch build-stamp
+	dh build
+	touch $@
 
 clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-
-	# Add here commands to clean up after the build process.
-	if [ -e Makefile ]; then \
-		$(MAKE) clean ; \
-	fi
-	if [ -e Makefile.old ]; then rm -f Makefile.old ; fi
-	find . -name "*~" | xargs rm -f
-	rm -rf debian/tmp
-	if [ -e Makefile.PL.orig ]; then rm Makefile.PL && mv Makefile.PL.orig Makefile.PL ; fi
-
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
+	dh $@
 
-	# Add here commands to install the package into debian/tmp.
-	$(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
+install: install-stamp
+install-stamp: build-stamp
+	dh install
+	touch $@
 
+binary-arch: install
+	dh $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-indep:
 
-# Build architecture-dependent files here.
-binary-arch: build install
-#	dh_testversion
-	dh_testdir
-	dh_testroot
-#	dh_installdebconf	
-	dh_installdocs
-	dh_installexamples
-	dh_installmenu
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installinit
-	dh_installcron
-	dh_installman
-	dh_installinfo
-#	dh_undocumented
-	dh_installchangelogs ChangeLog.1 Changes
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_makeshlibs
-	dh_installdeb
-	dh_perl
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
+binary: binary-arch binary-indep
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+.PHONY: binary binary-arch binary-indep install clean build

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



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