[Pkg-wmaker-commits] [wmsysmon] 25/37: debian/rules: Update to use dh.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 03:09: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 wmsysmon.
commit 3bdab80201af785bb7824b5a6bb6ccd3b4a61df2
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sun Jul 12 10:46:42 2015 -0600
debian/rules: Update to use dh.
---
debian/rules | 60 ++----------------------------------------------------------
1 file changed, 2 insertions(+), 58 deletions(-)
diff --git a/debian/rules b/debian/rules
index 62ca277..0103585 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,60 +1,4 @@
#!/usr/bin/make -f
-include /usr/share/dpatch/dpatch.make
-
-CFLAGS = -Wall -O2
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -g
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- INSTALL += -s
-endif
-
-build: patch-stamp
-
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) clean
-
- dpatch deapply-all
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/tmp.
- $(MAKE) DESTDIR=$(CURDIR)/debian/wmsysmon install
-
- touch install-stamp
-
-# 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_installchangelogs ChangeLog
- dh_installdocs
- dh_installman debian/wmsysmon.1
- dh_strip
- dh_installmenu
- 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 $@ --sourcedirectory=src
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmsysmon.git
More information about the Pkg-wmaker-commits
mailing list