[Pkg-wmaker-commits] [wmfrog] 55/145: rules: Update to dh(1)
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfrog.
commit bf6b371dc5c06cef45b2676d84476c3f2f006da3
Author: Jari Aalto <jari.aalto at cante.net>
Date: Wed Feb 15 05:47:24 2012 -0500
rules: Update to dh(1)
---
debian/rules | 88 ++++++------------------------------------------------------
1 file changed, 8 insertions(+), 80 deletions(-)
diff --git a/debian/rules b/debian/rules
index 10da9b6..3b4e23c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,95 +1,23 @@
#!/usr/bin/make -f
-# -*- makefile -*-
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-MAKEDIR = Src
-MAKEOPT = -C $(MAKEDIR)
PACKAGE = wmfrog
-MANSECT = 1x
+MAKEOPT = -C Src
-include /usr/share/dpatch/dpatch.make
include debian/debian-vars.mk
man:
# convert *.pod to manual page
- $(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) \
- MANSECT=$(MANSECT) makeman
-
-configure: configure-stamp
-
-configure-stamp:
- dh_testdir
- # Commands to configure the package.
- touch configure-stamp
-
-build: build-stamp
-
-build-stamp: configure-stamp patch man
- dh_testdir
+ $(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
- # Commands to compile the package.
- $(MAKE) $(MAKE_FLAGS) $(MAKEOPT)
+override_dh_auto_build: man
+ $(MAKE) $(MAKEOPT)
- touch build-stamp
-
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
-
- # Commands to clean up after the build process.
+override_dh_auto_clean:
[ ! Src/Makefile ] || $(MAKE) $(MAKEOPT) clean
- rm -f debian/*.$(MANSECT)
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/wmfrog.
+override_dh_auto_install:
$(MAKE) $(MAKEOPT) install DESTDIR=$(CURDIR)/debian/wmfrog
-# Build architecture-independent files here.
-binary-indep: build install
- # We have nothing to do.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs CHANGES
- dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman debian/*.$(MANSECT)
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_python
-# dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+.PHONY = man
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure man
+# End of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git
More information about the Pkg-wmaker-commits
mailing list