[Pkg-jed-commit] r968 - tmexpand/trunk/debian

Jörg Sommer jo-guest at alioth.debian.org
Sun Dec 2 13:48:34 UTC 2007


Author: jo-guest
Date: 2007-12-02 13:48:34 +0000 (Sun, 02 Dec 2007)
New Revision: 968

Modified:
   tmexpand/trunk/debian/rules
Log:
Fixed all make calls to use $(MAKE)

Using $(MAKE) is the right way. It's needed to support parallel building and
something more. http://lists.samba.org/archive/distcc/2004q1/002160.html


Modified: tmexpand/trunk/debian/rules
===================================================================
--- tmexpand/trunk/debian/rules	2007-11-28 21:32:23 UTC (rev 967)
+++ tmexpand/trunk/debian/rules	2007-12-02 13:48:34 UTC (rev 968)
@@ -11,10 +11,10 @@
 	dh_testdir
 	dh_clean
 	for i in $(subdirs); do \
-	    make -C $$i distclean; \
+	    $(MAKE) -C $$i distclean; \
 	    rm -f $$i/Makefile; \
 	done
-	for i in "" web ; do make -C doc/examples/$$i distclean ; done
+	for i in "" web ; do $(MAKE) -C doc/examples/$$i distclean ; done
 	rm -f config.log config.status Makefile
 	rm -f build-stamp install-stamp
 
@@ -25,11 +25,11 @@
 build: build-stamp
 build-stamp: config.status
 	dh_testdir
-	make
+	$(MAKE)
 	( cd doc/examples ; \
-	  make TMEXPAND=../../bin/tmexpand MACRODIR=../../macros )
+	  $(MAKE) TMEXPAND=../../bin/tmexpand MACRODIR=../../macros )
 	( cd doc/examples/web ; \
-	  make TMEXPAND=../../../bin/tmexpand MACRODIR=../../../macros )
+	  $(MAKE) TMEXPAND=../../../bin/tmexpand MACRODIR=../../../macros )
 	touch build-stamp
 
 binary-indep: build-stamp
@@ -38,7 +38,7 @@
 	# keep dh_install informations (debian/files) and debian/tmp
 	dh_clean -i --keep
 
-	make DESTDIR=$(instdir) install
+	$(MAKE) DESTDIR=$(instdir) install
 	mv $(instdir)/usr/man $(instdir)/usr/share/man
 	dh_installchangelogs -i ChangeLog
 	dh_installdocs -i




More information about the Pkg-jed-commit mailing list