summaryrefslogtreecommitdiff
path: root/appweb/appweb-1.0.1/makerules.patch
blob: ccf2caa0053781cf2a1ca3e917d4084f3b65304b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- tmp/base/appweb-1.0.0-r0/appWeb-1.0.0/make.rules	2004-01-09 12:49:45.000000000 -0500
+++ appWeb-1.0.0/make.rules	2004-01-28 20:28:09.000000000 -0500
@@ -119,14 +119,13 @@
 do [ -z "$$i" ] && continue ;\
 	[ -d "$$i" ] || continue ;\
 	home=`pwd` ; \
-	cd "$$i" >/dev/null ; \
-	if [ -f Makefile ] ; then \
+	if [ -f $$i/Makefile ] ; then \
 		echo ; echo "    \# make \"$$T\" in `pwd` " ; \
-		echo "    cd $$i" ; unset CFLAGS ; \
-		echo "    $(MAKE) -S $(MAKEF) DEBUG=$(DEBUG) \
-			MAKEFLAGS=$(MAKEFLAGS) $$T" ; \
-		$(MAKE) --no-print-directory -S $(MAKEF) DEBUG="$(DEBUG)" \
-			MAKEFLAGS=$(MAKEFLAGS) $$T ; \
+		unset CFLAGS ; \
+		echo "    $(MAKE) -C $$i -S $(MAKEF) DEBUG=$(DEBUG) \
+			$$T" ; \
+		$(MAKE) --no-print-directory -C $$i -S $(MAKEF) DEBUG="$(DEBUG)" \
+			$$T ; \
 		code=$$? ; \
 		if [ $$code != 0 ] ; then \
 			echo "\#WARNING: Makefile error in `pwd`" ; \