[xml/sgml-commit] [xml-core] 09/13: Rewrite debian/rules using the dh sequencer

Mattia Rizzolo mattia at debian.org
Fri Sep 30 16:59:03 UTC 2016


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

mattia pushed a commit to branch master
in repository xml-core.

commit fed34e01b5cc32590911c0ef573bc9a74659e667
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Sep 30 16:46:41 2016 +0000

    Rewrite debian/rules using the dh sequencer
---
 debian/rules | 61 +++---------------------------------------------------------
 1 file changed, 3 insertions(+), 58 deletions(-)

diff --git a/debian/rules b/debian/rules
index a53a851..f01e904 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,64 +1,9 @@
 #!/usr/bin/make -f
-## ----------------------------------------------------------------------
-## debian/rules : package script for xml-core
-## ----------------------------------------------------------------------
-
-## ----------------------------------------------------------------------
-## uncomment this to turn on verbose mode
 #export DH_VERBOSE=1
 
-## ----------------------------------------------------------------------
-PACKAGE		= xml-core
-
-## ----------------------------------------------------------------------
-## targets
-
-clean:
-		dh_testdir
-		dh_testroot
-		rm -f tools/update-xmlcatalog.8 debhelper/dh_installxmlcatalogs.1
-		dh_clean tools/update-xmlcatalog.8 \
-		    debhelper/dh_installxmlcatalogs.1 \
-		    build-stamp install-stamp
-
-build:		build-stamp
-build-stamp:
-		dh_testdir
-		$(MAKE)
-		touch build-stamp
-
-install:	install-stamp
-install-stamp:	build
-		dh_testdir
-		dh_testroot
-		dh_clean -k
-		dh_installdirs
-		$(MAKE) install prefix=$(CURDIR)/debian/$(PACKAGE)/usr
-		touch install-stamp
+%:
+	dh $@
 
-binary-indep:	build install
-		dh_testdir
-		dh_testroot
-		dh_installdocs
-		dh_installexamples
-		dh_installchangelogs
+override_dh_install:
 		dh_install
 		DH_AUTOSCRIPTDIR=debhelper debhelper/dh_installxmlcatalogs
-		dh_installcatalogs
-		dh_link
-		dh_usrlocal
-		dh_compress
-		dh_fixperms
-		dh_installdeb
-		dh_perl -d
-		dh_gencontrol
-		dh_md5sums
-		dh_builddeb
-
-binary-arch:
-
-binary:		binary-indep binary-arch
-
-.PHONY:		clean build install binary-indep binary-arch binary
-
-## ----------------------------------------------------------------------

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-xml-sgml/xml-core.git



More information about the debian-xml-sgml-commit mailing list