[Pkg-wmaker-commits] [wmcube] 30/67: debian/rules: Update to use dh.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Tue Aug 25 03:22:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcube.
commit 99333a4e5839222826e79c2fac7fbbfc26005f94
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Sun Jan 11 11:13:12 2015 -0600
debian/rules: Update to use dh.
---
debian/rules | 73 ++----------------------------------------------------------
1 file changed, 2 insertions(+), 71 deletions(-)
diff --git a/debian/rules b/debian/rules
index 4579047..24aeb71 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,76 +1,7 @@
#!/usr/bin/make -f
-# This is a -*- makefile -*-
-# Modified from the sample debian/rules that uses debhelper.
-# GNU copyright 1998 by Marcelo Magallon.
-# GNU copyright 1997 by Joey Hess.
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-include /usr/share/dpatch/dpatch.make
-
-CFLAGS = -Wall -g
-INSTALL = install
-INSTALL_FILE = $(INSTALL) -p -o root -g root -m 0644
-INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 0755
-INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 0755
-INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 0755
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-CFLAGS += -O0
-else
-CFLAGS += -O2
-endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-INSTALL_PROGRAM += -s
-endif
-
-build: patch build-stamp
-build-stamp:
- dh_testdir
- $(MAKE) CFLAGS="$(CFLAGS)"
- touch build-stamp
-
-clean: clean-patched unpatch
-clean-patched: patch-stamp
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ ! -f Makefile ] || $(MAKE) clean
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs usr/share/wmcube usr/bin
- $(INSTALL_PROGRAM) wmcube $(CURDIR)/debian/wmcube/usr/bin/wmcube
- dh_install wmc/*.wmc debian/wmc/*.wmc usr/share/wmcube
- chmod -x $(CURDIR)/debian/wmcube/usr/share/wmcube/*
-
-# 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_installmenu
- dh_installdocs README
- dh_installman debian/wmcube.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
+%:
+ dh $@ --sourcedirectory=wmcube
get-orig-source:
uscan --verbose --force-download --rename
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcube.git
More information about the Pkg-wmaker-commits
mailing list