Module Name:    src
Committed By:   plunky
Date:           Fri Jan 22 11:08:40 UTC 2010

Modified Files:
        src/external/bsd/pcc/dist/pcc/cc: Makefile.in
        src/external/bsd/pcc/dist/pcc/f77: Makefile.in

Log Message:
execute lists of commands in sub-shells so that the cwd doesn't get
not changed between commands

(nbmake will execute all commands in the same context when given -j)

this allows HAVE_PCC=yes tools build to install the pcc files


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/pcc/dist/pcc/cc/Makefile.in
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/pcc/dist/pcc/f77/Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/pcc/dist/pcc/cc/Makefile.in
diff -u src/external/bsd/pcc/dist/pcc/cc/Makefile.in:1.1.1.1 src/external/bsd/pcc/dist/pcc/cc/Makefile.in:1.2
--- src/external/bsd/pcc/dist/pcc/cc/Makefile.in:1.1.1.1	Sun Aug 24 05:33:01 2008
+++ src/external/bsd/pcc/dist/pcc/cc/Makefile.in	Fri Jan 22 11:08:40 2010
@@ -1,4 +1,4 @@
-#	$Id: Makefile.in,v 1.1.1.1 2008/08/24 05:33:01 gmcgarry Exp $
+#	$Id: Makefile.in,v 1.2 2010/01/22 11:08:40 plunky Exp $
 #
 # Makefile.in for top-level of pcc.
 #
@@ -17,19 +17,19 @@
 all: ${SUBDIR}
 
 install:
-	cd cc && ${MAKE} install
-	cd cpp && ${MAKE} install
-	cd ccom && ${MAKE} install
+	(cd cc && ${MAKE} install)
+	(cd cpp && ${MAKE} install)
+	(cd ccom && ${MAKE} install)
 
 clean:
-	cd cc && ${MAKE} clean
-	cd cpp && ${MAKE} clean
-	cd ccom && ${MAKE} clean
+	(cd cc && ${MAKE} clean)
+	(cd cpp && ${MAKE} clean)
+	(cd ccom && ${MAKE} clean)
 
 distclean:
-	cd cc && ${MAKE} distclean
-	cd cpp && ${MAKE} distclean
-	cd ccom && ${MAKE} distclean
+	(cd cc && ${MAKE} distclean)
+	(cd cpp && ${MAKE} distclean)
+	(cd ccom && ${MAKE} distclean)
 	/bin/rm -rf Makefile config.log stamp-h1 config.status \
 	configure.lineno config.h autom4te.cache
 

Index: src/external/bsd/pcc/dist/pcc/f77/Makefile.in
diff -u src/external/bsd/pcc/dist/pcc/f77/Makefile.in:1.1.1.1 src/external/bsd/pcc/dist/pcc/f77/Makefile.in:1.2
--- src/external/bsd/pcc/dist/pcc/f77/Makefile.in:1.1.1.1	Sun Aug 24 05:33:05 2008
+++ src/external/bsd/pcc/dist/pcc/f77/Makefile.in	Fri Jan 22 11:08:40 2010
@@ -1,4 +1,4 @@
-#	$Id: Makefile.in,v 1.1.1.1 2008/08/24 05:33:05 gmcgarry Exp $
+#	$Id: Makefile.in,v 1.2 2010/01/22 11:08:40 plunky Exp $
 #
 # Makefile.in for top-level of pcc.
 #
@@ -16,16 +16,16 @@
 all: ${SUBDIR}
 
 install:
-	cd f77 && ${MAKE} install
-	cd fcom && ${MAKE} install
+	(cd f77 && ${MAKE} install)
+	(cd fcom && ${MAKE} install)
 
 clean:
-	cd f77 && ${MAKE} clean
-	cd fcom && ${MAKE} clean
+	(cd f77 && ${MAKE} clean)
+	(cd fcom && ${MAKE} clean)
 
 distclean:
-	cd f77 && ${MAKE} distclean
-	cd fcom && ${MAKE} distclean
+	(cd f77 && ${MAKE} distclean)
+	(cd fcom && ${MAKE} distclean)
 	/bin/rm -rf Makefile config.log stamp-h1 config.status \
 	configure.lineno config.h autom4te.cache
 

Reply via email to