[Chinese-commits] [manpages-zh] 103/131: Switch to debhelper(dh) build system

Boyuan Yang hosiet-guest at moszumanska.debian.org
Tue Dec 13 19:59:49 UTC 2016


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

hosiet-guest pushed a commit to branch master
in repository manpages-zh.

commit 204dadfa95faf1e4efc4865fcacbfb3940be6033
Author: Boyuan Yang <073plan at gmail.com>
Date:   Sun Aug 7 21:14:31 2016 +0800

    Switch to debhelper(dh) build system
    
    To simplify d/rules target.
---
 debian/changelog |  8 ++++----
 debian/compat    |  2 +-
 debian/control   |  8 ++++----
 debian/rules     | 13 +++++++++++--
 4 files changed, 20 insertions(+), 11 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7fda489..967b026 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,14 +13,14 @@ manpages-zh (1.5.2-1) unstable; urgency=low
 
 manpages-zh (1.5.1-3) unstable; urgency=low
 
-  * debian/watch: added. 
+  * debian/watch: added.
   * debian/control:
     - update maintainer's email.
     - bump standards version to 3.8.4.
     - remove DMUA.
     - build depends on debhelper (>= 7)
   * debian/compat: update to debhelper 7.
-  * debian/source/format: 3.0. 
+  * debian/source/format: 3.0.
 
  -- LI Daobing <lidaobing at debian.org>  Wed, 14 Apr 2010 22:28:13 +0800
 
@@ -29,7 +29,7 @@ manpages-zh (1.5.1-2) unstable; urgency=low
   * debian/rules: remove mplayer.1 and mencoder.1, mplayer.1 is already
     provided by mplayer package and mencoder.1 is a soft link to mplayer.1.
     (Closes: #520459)
-  * debian/control: bump standards version to 3.8.1, no changes needed. 
+  * debian/control: bump standards version to 3.8.1, no changes needed.
   * debian/control: fix debhelper-but-no-misc-depends.
   * debian/control: add DMUA field.
   * debian/control: add Vcs-* fields.
@@ -91,7 +91,7 @@ cman (1.4-5) unstable; urgency=low
 
   * Default file encoding is UTF-8
   * zh_TW is removed, hope somebody to add it one day
-  
+
  -- bbbush <bbbush at 163.com>  Tue,  25 Nov 2003 15:17:08 +0800
 
 cman (0.0.7-1) unstable; urgency=low
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index e3b30df..15eb366 100644
--- a/debian/control
+++ b/debian/control
@@ -4,11 +4,11 @@ Priority: optional
 Maintainer: Debian Chinese Team <chinese-developers at lists.alioth.debian.org>
 Uploaders:
  LI Daobing <lidaobing at debian.org>
-Build-Depends: debhelper (>= 7), cdbs, zh-autoconvert (>= 0.3.13), perl
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 9), dh-autoreconf, zh-autoconvert (>= 0.3.13), perl
+Standards-Version: 3.9.8
 Homepage: https://github.com/lidaobing/manpages-zh
-Vcs-Browser: http://git.debian.org/?p=chinese/manpages-zh.git
-Vcs-Git: git://git.debian.org/git/chinese/manpages-zh.git
+Vcs-Browser: https://anonscm.debian.org/cgit/chinese/manpages-zh.git
+Vcs-Git: https://anonscm.debian.org/cgit/chinese/manpages-zh.git
 
 Package: manpages-zh
 Architecture: all
diff --git a/debian/rules b/debian/rules
index 26279a5..47082d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,18 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
+# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
+include /usr/share/dpkg/default.mk
+include /usr/share/dpkg/buildflags.mk
 
+# main packaging script based on dh7 syntax
+%:
+	dh $@ --with autoreconf
+
+# some strange target that will be investigated later
 binary-post-install/manpages-zh::
 	for l in zh_CN zh_TW; do \
 		for n in man5/passwd.5 man8/usermod.8 man8/groupdel.8 man8/userdel.8 man8/useradd.8 \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/manpages-zh.git



More information about the Chinese-commits mailing list