[Pkg-wmaker-commits] [wmifinfo] 08/49: Simplify debian/rules to use dh(1).
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 18 02:07:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmifinfo.
commit a61a3abab7b5b98525bb0ba22d2cb934d6badffb
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Mon Jul 28 01:43:02 2014 -0500
Simplify debian/rules to use dh(1).
---
debian/changelog | 2 ++
debian/rules | 68 ++------------------------------------------------------
2 files changed, 4 insertions(+), 66 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 01012ed..2841ce1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ wmifinfo (0.09-7) unstable; urgency=low
- Update Maintainer in debian/control.
* debian/copyright
- Convert to machine-readable format v1.0.
+ * debian/rules
+ - Simplify to use dh(1).
* debian/source/format
- New file; set to quilt (3.0).
diff --git a/debian/rules b/debian/rules
index bf09b77..cbe925d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,67 +1,3 @@
#!/usr/bin/make -f
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/quilt/quilt.make
-
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
-
-INSTALL=/usr/bin/install
-INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755
-
-
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- touch $@
-
-build-arch: build
-build-indep: build
-
-build: patch build-stamp
-
-build-stamp: $(QUILT_STAMPFN) configure-stamp
- dh_testdir
- $(MAKE) CFLAGS="$(CFLAGS)"
- touch $@
-
-clean: unpatch
- dh_testdir
- dh_testroot
- dh_clean build-stamp configure-stamp
- [ ! -f Makefile ] || $(MAKE) clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
- $(MAKE) install DESTDIR=$(CURDIR)/debian/wmifinfo INSTALL_PROGRAM="$(INSTALL_PROGRAM)"
-
-
-# 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 README
- dh_installmenu
- dh_installman debian/wmifinfo.1
- dh_installchangelogs Changelog
- 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 configure
+%:
+ dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmifinfo.git
More information about the Pkg-wmaker-commits
mailing list