[Pkg-wmaker-commits] [wmitime] 52/127: debian/rules: Ajust MAKE_FLAGS

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sat Aug 22 01:34:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmitime.

commit a40fa6a8efeec6f679618cf86e4f5afe2927674d
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Wed Feb 15 07:52:14 2012 -0500

    debian/rules: Ajust MAKE_FLAGS
---
 debian/rules | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index e40c8e0..5f616ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 
-PACKAGE = wmitime
-BIN	= $(PACKAGE)/$(PACKAGE)
+PACKAGE	  = wmitime
+BIN	  = $(PACKAGE)/$(PACKAGE)
+MAKE_FLAGS = -C wmitime
 
 include /usr/share/dpkg/buildflags.mk
 CFLAGS	+= -Wall -pedantic
@@ -13,12 +14,11 @@ include debian/debian-vars.mk
 man:
 	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
 
-override_sh_auto_build:
-	$(MAKE) -C wmitime FLAGS="$(CFLAGS) $(LDFLAGS)"
+override_dh_auto_build:
+	$(MAKE) $(MAKE_FLAGS) FLAGS="$(CFLAGS) $(LDFLAGS)"
 
 override_dh_auto_clean:
-	# Commands to clean up after the build process.
-	[ ! -f wmitime/Makefile ] || $(MAKE) -C wmitime clean
+	$(MAKE) $(MAKE_FLAGS) clean
 
 override_sh_auto_install:
 	install -D -m 755  $(BIN) $(BINDIR)/$(PACKAGE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmitime.git



More information about the Pkg-wmaker-commits mailing list