From: Joey Hess Date: Thu, 24 Apr 2008 06:11:58 +0000 (-0400) Subject: Use debhelper v7; rules file minimisation. X-Git-Tag: 0.14~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a5e8e2a1992b5248371e649523c75cc4915ea8eb;p=tools%2Fpristine-tar.git Use debhelper v7; rules file minimisation. --- diff --git a/debian/changelog b/debian/changelog index ac1e2e1..e4c03d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pristine-tar (0.14) UNRELEASED; urgency=low + + * Use debhelper v7; rules file minimisation. + + -- Joey Hess Thu, 24 Apr 2008 02:05:47 -0400 + pristine-tar (0.13) unstable; urgency=low * Man page typo fix. Closes: #475698 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..f7e585b --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +*.1 diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index 087acc5..dcf0e04 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: pristine-tar Section: utils Priority: optional -Build-Depends: debhelper (>= 5), dpkg-dev (>= 1.9.0), zlib1g-dev +Build-Depends: debhelper (>= 7), dpkg-dev (>= 1.9.0), zlib1g-dev Maintainer: Joey Hess Standards-Version: 3.7.3 Vcs-Git: git://git.kitenet.net/pristine-tar/ diff --git a/debian/rules b/debian/rules index 31f1221..f43910b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,37 +1,19 @@ #!/usr/bin/make -f +%: + dh $@ build: - $(MAKE) + dh build pod2man -c pristine-tar pristine-tar > pristine-tar.1 pod2man -c pristine-gz pristine-gz > pristine-gz.1 pod2man -c pristine-bz2 pristine-bz2 > pristine-bz2.1 pod2man -c zgz zgz.pod > zgz.1 -clean: - dh_testdir - dh_testroot - $(MAKE) clean - dh_clean pristine-tar.1 pristine-gz.1 pristine-bz2.1 zgz.1 - -binary-indep: build - binary-arch: build - dh_testdir - dh_testroot - dh_clean -k + dh binary-arch --until dh_prep dh_install pristine-tar pristine-gz pristine-bz2 zgz usr/bin dh_installdocs TODO delta-format.txt dh_installman *.1 - dh_installchangelogs - dh_compress - dh_strip - dh_fixperms - dh_perl - dh_shlibdeps - dh_installdeb - dh_gencontrol - dh_md5sums - dh_builddeb + dh binary-arch --remaining binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary