[Pkg-wmaker-commits] [wmbubble] 116/207: rules: Update to latest dh(1) format
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Mon Aug 24 04:18:15 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmbubble.
commit 7716abad97c8ba672e9d0c5f2d1023b6a95eadc2
Author: Jari Aalto <jari.aalto at cante.net>
Date: Tue Jan 3 09:52:28 2012 +0200
rules: Update to latest dh(1) format
---
debian/rules | 56 +++-----------------------------------------------------
1 file changed, 3 insertions(+), 53 deletions(-)
diff --git a/debian/rules b/debian/rules
index c9eadf5..715bc89 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,61 +1,11 @@
#!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-CFLAGS = -Wall -g
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-build: build-stamp
-build-stamp:
- dh_testdir
- $(MAKE) CFLAGS="$(CFLAGS)"
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- $(MAKE) clean
- rm -f wmbubble
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_prep
- dh_installdirs
-
+override_dh_install:
$(MAKE) install PREFIX=$(CURDIR)/debian/wmbubble/usr
dh_install misc/wak.wav misc/wakwak.sh usr/share/wmbubble/
- chmod +x $(CURDIR)/debian/wmbubble/usr/share/wmbubble/wakwak.sh
-
-# 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
- dh_installmenu
- dh_installman wmbubble.1x
- 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
+%:
+ dh $@
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbubble.git
More information about the Pkg-wmaker-commits
mailing list