[Pkg-wmaker-commits] [wmget] 14/41: debian/rules: Update to use dh.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 17:05:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmget.
commit 915f0703714ab1ca179328c252a0d92a5e539212
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sat Jan 24 20:48:23 2015 -0600
debian/rules: Update to use dh.
---
debian/rules | 63 ++----------------------------------------------------------
1 file changed, 2 insertions(+), 61 deletions(-)
diff --git a/debian/rules b/debian/rules
index 4758a40..22d44cb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,66 +1,7 @@
#!/usr/bin/make -f
-include /usr/share/dpatch/dpatch.make
-
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp: patch-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- $(MAKE) CFLAGS="$(CFLAGS)"
- #/usr/bin/docbook-to-man debian/wmget.sgml > wmget.1
-
- touch build-stamp
-
-clean: unpatch
- dh_testdir
- dh_testroot
- rm -f build-stamp
-
- # Add here commands to clean up after the build process.
- $(MAKE) clean
-
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/wmget.
- $(MAKE) install DESTDIR=$(CURDIR)/debian/wmget PREFIX=$(CURDIR)/debian/wmget/usr
-
-# 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
- dh_installdocs
- dh_installmenu
- dh_link
- 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 patch unpatch
+%:
+ dh $@
get-orig-source:
uscan --verbose --force-download --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmget.git
More information about the Pkg-wmaker-commits
mailing list