[m-rev.] diff: copy library/erlang_conf.hrl

Peter Wang wangp at students.csse.unimelb.edu.au
Wed Aug 15 14:04:13 AEST 2007


Estimated hours taken: 0.1
Branches: main

scripts/prepare_tmp_dir_grade_part:
tools/bootcheck:
	Copy or link erlang_conf.hrl when making shadow copies of the library
	directory when bootchecking or building in different grades.

Index: scripts/prepare_tmp_dir_grade_part
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/scripts/prepare_tmp_dir_grade_part,v
retrieving revision 1.7
diff -u -r1.7 prepare_tmp_dir_grade_part
--- scripts/prepare_tmp_dir_grade_part	19 Mar 2007 01:28:04 -0000	1.7
+++ scripts/prepare_tmp_dir_grade_part	15 Aug 2007 03:56:39 -0000
@@ -52,6 +52,7 @@
 cp library/print_extra_inits tmp_dir/library
 cp library/library_strong_name.sn tmp_dir/library
 cp library/*.m tmp_dir/library
+cp library/*.hrl tmp_dir/library
 mkdir tmp_dir/mdbcomp
 cp mdbcomp/Mmake* tmp_dir/mdbcomp
 cp mdbcomp/Mercury.* tmp_dir/mdbcomp
Index: tools/bootcheck
===================================================================
RCS file: /home/mercury/mercury1/repository/mercury/tools/bootcheck,v
retrieving revision 1.196
diff -u -r1.196 bootcheck
--- tools/bootcheck	24 Jul 2007 07:10:32 -0000	1.196
+++ tools/bootcheck	15 Aug 2007 03:56:39 -0000
@@ -648,6 +648,7 @@
         cd library
         $LN_S $root/library/[a-l]*.m .
         $LN_S $root/library/[m-z]*.m .
+        $LN_S $root/library/*.hrl .
         # See comment below for why we use $LN rather than $LN_S here
         $LN $root/library/library_strong_name.sn .
         $LN_S $root/library/print_extra_inits .
@@ -1126,6 +1127,7 @@
     cd library
     $LN_S $root/library/[a-l]*.m .
     $LN_S $root/library/[m-z]*.m .
+    $LN_S $root/library/*.hrl .
     $LN_S $root/library/print_extra_inits .
     $LN_S $root/library/library_strong_name.sn .
     cp $root/library/Mmake* $root/library/Mercury.options .
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list