[Pkg-wmaker-commits] [wmtop] 23/34: debian/rules: Update to use dh.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Wed Aug 26 01:01:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmtop.
commit 30de6ebd06b93ebb8328c90358733b53aeddc8fe
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Mon Jul 13 12:23:18 2015 -0600
debian/rules: Update to use dh.
---
debian/rules | 59 ++++++-----------------------------------------------------
1 file changed, 6 insertions(+), 53 deletions(-)
diff --git a/debian/rules b/debian/rules
index bd06dc2..5b18c53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,57 +1,10 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+ dh $@
-include /usr/share/dpatch/dpatch.make
+override_dh_auto_build:
+ dh_auto_build -- linux
-build: build-stamp
-build-stamp: patch-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE) linux
-
- touch build-stamp
-
-clean: unpatch
- dh_testdir
- dh_testroot
-
- # Add here commands to clean up after the build process.
- [ ! -f Makefile ] || $(MAKE) clean
-
- dh_clean build-stamp
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs usr/bin
-
- # Add here commands to install the package into debian/wmtop.
- install -m 0755 wmtop `pwd`/debian/wmtop/usr/bin/wmtop
-
-# 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 BUGS README TODO
- dh_installmenu
- dh_installman wmtop.1
- dh_installchangelogs CHANGES
- 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
+override_dh_auto_install:
+ dh_auto_install -- PREFIX=/usr
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmtop.git
More information about the Pkg-wmaker-commits
mailing list