[Pkg-wmaker-commits] [wmsun] 54/73: debian/rules: Update to use dh.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:48 UTC 2015


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

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

commit c8b21372638e5e6aca3abd46ca9597e2ed703d70
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Jun 15 07:26:22 2015 -0500

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

diff --git a/debian/rules b/debian/rules
index b121ac8..dd65997 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,50 +1,10 @@
 #!/usr/bin/make -f
 
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
-else
-	CFLAGS += -O2
-endif
-export CFLAGS
+%:
+	dh $@
 
-clean:
-	dh_testdir
-	[ ! -f wmSun/Makefile ] || $(MAKE) -C wmSun clean
-	dh_clean
-	rm -f build-stamp
-
-build:  build-stamp
-build-stamp:
-	dh_testdir
-	$(MAKE) -C wmSun
-	touch build-stamp
-
-binary: binary-arch
-
-binary-indep:
-
-binary-arch: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_install
-	dh_installdocs TODO changelog
-	dh_installman wmSun/wmSun.1
-	dh_installchangelogs
-	dh_installmenu
-	dh_link usr/bin/wmSun usr/bin/wmsun
-	dh_link usr/share/man/man1/wmSun.1.gz usr/share/man/man1/wmsun.1.gz
-	dh_strip
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_shlibdeps
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-.PHONY: 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/wmsun.git



More information about the Pkg-wmaker-commits mailing list