[Pkg-wmaker-commits] [wmgtemp] 25/45: debian/rules: Update to use dh.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:58:06 UTC 2015


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

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

commit 89a79d8d2f714c51db02d532839c1d2b9ee0700a
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Jan 31 01:49:10 2015 -0600

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

diff --git a/debian/rules b/debian/rules
index 6b744a4..22d44cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,51 +1,7 @@
 #!/usr/bin/make -f
-# debian/rules for wmgtemp, by Josip Rodin
-# based on files by Joey Hess and Janos Lenart.
 
-#export DH_VERBOSE=1
-
-build: src/wmgtemp
-
-src/wmgtemp: src/Makefile
-	dh_testdir
-	$(MAKE) depend
-	$(MAKE)
-
-clean:
-	dh_testdir
-	dh_testroot
-	$(MAKE) clean
-	dh_clean
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs usr/bin
-	$(MAKE) install INSTDIR=$(CURDIR)/debian/wmgtemp/usr/bin MANINSTDIR=$(CURDIR)/debian/wmgtemp/usr/share/man/man1
-
-binary-indep:
-
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs TODO
-	dh_installchangelogs
-	chmod -x examples/wmgtemprc
-	dh_installexamples examples/wmgtemprc
-	dh_installmenu
-	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
+%:
+	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/wmgtemp.git



More information about the Pkg-wmaker-commits mailing list