[Po4a-commits] "po-debconf/debian rules, 1.25, 1.26 control, 1.43, 1.44"

Denis Barbier barbier-guest at alioth.debian.org
Wed Jan 26 20:58:11 UTC 2011


Update of /cvsroot/po4a/po-debconf/debian
In directory alioth:/tmp/cvs-serv6490/debian

Modified Files:
	rules control 
Log Message:
Rewrite debian/rules to call dh

Bump debhelper dependency to 7.0.50, we make use of overrides.


Index: control
===================================================================
RCS file: /cvsroot/po4a/po-debconf/debian/control,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- control	5 Apr 2009 18:56:33 -0000	1.43
+++ control	26 Jan 2011 20:58:08 -0000	1.44
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Nicolas FRANCOIS (Nekral) <nicolas.francois at centraliens.net>
 Standards-Version: 3.8.1
-Build-Depends: debhelper (>= 7.0.0), po4a (>= 0.36)
+Build-Depends: debhelper (>= 7.0.50), po4a (>= 0.36)
 Build-Depends-Indep: perl (>= 5.10)
 
 Package: po-debconf

Index: rules
===================================================================
RCS file: /cvsroot/po4a/po-debconf/debian/rules,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- rules	26 Jan 2011 18:57:10 -0000	1.25
+++ rules	26 Jan 2011 20:58:07 -0000	1.26
@@ -1,44 +1,15 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode. 
-#export DH_VERBOSE=1
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE) prefix=/usr
-	touch build-stamp
-
-clean:
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp
-	$(MAKE) clean
-	dh_clean
-
-# Build architecture-independent files here.
-binary-indep: build
-	dh_testdir
-	dh_testroot
-	dh_prep
+%:
+	dh $@
 
-	dh_installdocs README README-trans
-	dh_installdirs
+override_dh_auto_build:
+	dh_auto_build -- prefix=/usr
 
-	$(MAKE) install prefix=/usr DESTDIR=$(CURDIR)/debian/po-debconf
+override_dh_auto_install:
+	dh_auto_install -- prefix=/usr
 	install -m 0644 doc/vi/*.html $(CURDIR)/debian/po-debconf/usr/share/doc/po-debconf/manpages.vi
-	dh_installman doc/en/*.[1-7] doc/de/*.de.[1-7] doc/fr/*.fr.[1-7] doc/pt/*.pt.[1-7] doc/ru/*.ru.[1-7] doc/vi/*.vi.[1-7]
-	dh_installchangelogs
-	dh_compress
-	dh_link
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
 
-binary-arch:
-# Nothing to do
+override_dh_installman:
+	dh_installman doc/en/*.[1-7] doc/de/*.de.[1-7] doc/fr/*.fr.[1-7] doc/pt/*.pt.[1-7] doc/ru/*.ru.[1-7] doc/vi/*.vi.[1-7]
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary




More information about the Po4a-commits mailing list