[Chinese-commits] [zh-autoconvert] 16/26: Migrate to debhelper 9
Anthony Fok
foka at debian.org
Wed Nov 18 00:26:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
foka pushed a commit to branch master
in repository zh-autoconvert.
commit e0e7720376e4c1686edf941fc6a82b7f9b8318de
Author: Anthony Fok <foka at debian.org>
Date: Tue Nov 17 04:40:10 2015 -0700
Migrate to debhelper 9
---
debian/compat | 1 +
debian/rules | 84 ++--------------------------------------------------
debian/source/format | 1 +
3 files changed, 4 insertions(+), 82 deletions(-)
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/rules b/debian/rules
index ea10335..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,84 +1,4 @@
#!/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
-
-# This is the debhelper compatability version to use.
-export DH_COMPAT=1
-
-libpkg = libhz0
-
-# shared library versions, option 1
-version=0.0
-major=0
-# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
-#version=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
-#major=`ls src/.libs/lib*.so.* | \
-# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'
-
-build: build-stamp
-build-stamp:
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE)
-
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- -$(MAKE) clean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs usr/bin
-
- # Add here commands to install the package into debian/tmp.
- $(MAKE) install DESTDIR=`pwd`/debian/tmp
- cp -f debian/override `pwd`/debian/tmp/usr/share/lintian/overrides/zh-autoconvert
-
- touch install-stamp
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-# dh_testversion
- dh_testdir
- dh_testroot
- dh_movefiles
-# dh_installdebconf
- dh_installdocs Readme TODO doc/libhz.txt doc/400b5.txt doc/400gb.txt doc/b5percent.txt doc/gbpercent.txt doc/percent.py
- dh_installexamples examples/* contrib/convmail.pl contrib/debian-chinese-gateway.pl
- dh_installmenu
- dh_installmanpages
-# dh_undocumented
- dh_installchangelogs ChangeLog
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_makeshlibs -p$(libpkg) -V '$(libpkg) (>= $${Source-Version})'
- dh_makeshlibs -p$(libpkg) -V '$(libpkg) (>= 0.3.14-1)'
- dh_installdeb
-# dh_perl
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+ dh $@
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/chinese/zh-autoconvert.git
More information about the Chinese-commits
mailing list