[Pkg-wmaker-commits] [wmbatppc] 20/35: debian/rules: Update to use dh.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 02:23:49 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmbatppc.

commit 450b81e3a15543e1affb871fa91de9604dd2dc67
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Wed Dec 31 07:55:31 2014 -0600

    debian/rules: Update to use dh.
---
 debian/rules | 69 ++----------------------------------------------------------
 1 file changed, 2 insertions(+), 67 deletions(-)

diff --git a/debian/rules b/debian/rules
index d40ee44..22d44cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,72 +1,7 @@
 #!/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
-
-configure: configure-stamp
-configure-stamp:
-	dh_testdir
-	# Add here commands to configure the package.
-
-	touch configure-stamp
-
-build: configure-stamp 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 configure-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
-
-	# Add here commands to install the package into debian/wmbatppc.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/wmbatppc
-
-	rm -f $(CURDIR)/debian/wmbatppc/usr/share/man/man1/batppc.1
-
-# 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_testdir
-	dh_testroot
-	dh_installdocs
-	dh_installmenu
-	dh_installman wmbatppc.1
-	dh_installchangelogs 
-	dh_link usr/share/man/man1/wmbatppc.1.gz usr/share/man/man1/batppc.1.gz \
-		usr/bin/wmbatppc usr/bin/batppc
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
+%:
+	dh $@
 
 get-orig-source:
 	uscan --verbose --force-download --rename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbatppc.git



More information about the Pkg-wmaker-commits mailing list