[m-dev.] diff: tools/bootcheck

Simon Taylor stayl at cs.mu.OZ.AU
Wed May 5 15:25:25 AEST 1999


Estimated hours taken: 0.1

tools/bootcheck:
	Copy the .pp files rather than linking them. 
	This is a more robust way of making sure the corresponding
	.m files are rebuilt in stages 2 and 3 because it doesn't
	require any changes if someone adds some more .pp files.

Index: bootcheck
===================================================================
RCS file: /home/staff/zs/imp/mercury/tools/bootcheck,v
retrieving revision 1.80
diff -u -u -r1.80 bootcheck
--- bootcheck	1999/05/05 01:36:12	1.80
+++ bootcheck	1999/05/05 05:21:46
@@ -286,11 +286,9 @@
 	ln -s $root/compiler/[a-h]*.m .
 	ln -s $root/compiler/[i-s]*.m .
 	ln -s $root/compiler/[t-z]*.m .
-	ln -s $root/compiler/rl_out.pp .
-	ln -s $root/compiler/rl_file.pp .
 	# Make sure rl_out.m and rl_file.m are recreated with
 	# the value of INCLUDE_ADITI_OUTPUT in Mmake.stage.params.
-	/bin/rm -f rl_out.m rl_file.m
+	cp $root/compiler/*.pp .
 
 	cp $root/compiler/Mmake* .
 	cd $root/stage2
@@ -491,11 +489,9 @@
 	ln -s $root/compiler/[a-h]*.m .
 	ln -s $root/compiler/[i-s]*.m .
 	ln -s $root/compiler/[t-z]*.m .
-	ln -s $root/compiler/rl_out.pp .
-	ln -s $root/compiler/rl_file.pp .
 	# Make sure rl_out.m and rl_file.m are recreated with
 	# the value of INCLUDE_ADITI_OUTPUT in Mmake.stage.params.
-	/bin/rm -f rl_out.m rl_file.m
+	cp $root/compiler/*.pp .
 
 	cp $root/compiler/Mmake* .
 	cd $root/stage3
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list