[Pkg-wmaker-commits] [wmload] 39/58: debian/rules: Update to use dh.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 23:36:26 UTC 2015


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

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

commit 53a06a98292e6097e8498680c9841403ea9de222
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Apr 7 19:23:58 2015 -0500

    debian/rules: Update to use dh.
---
 debian/rules | 44 ++++----------------------------------------
 1 file changed, 4 insertions(+), 40 deletions(-)

diff --git a/debian/rules b/debian/rules
index 835afbc..1dfee65 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,46 +1,10 @@
 #!/usr/bin/make -f
-# Derived from Marcelo's and dh_make's rules files.
 
-#export DH_VERBOSE=1
+%:
+	dh $@
 
-CFLAGS += -Wall -fno-strength-reduce
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	xmkmf
-	$(MAKE) CDEBUGFLAGS="$(CFLAGS)"
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean Makefile
-	[ ! -f Makefile ] || $(MAKE) clean
-
-binary-indep:
-# There aren't any architecture-independent files here.
-
-binary-arch: build
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install install.man DESTDIR=`pwd`/debian/wmload BINDIR=/usr/bin MANPATH=/usr/share/man
-	dh_installdocs README
-	dh_installchangelogs
-	dh_installmenu
-	dh_installman
-	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
+override_dh_auto_install:
+	dh_auto_install -- PREFIX=/usr
 
 get-orig-source:
 	uscan --verbose --force-download --no-symlink

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



More information about the Pkg-wmaker-commits mailing list