Copy or link erlang_conf.hrl when making shadow copies of the library

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.
This commit is contained in:
Peter Wang
2007-08-15 04:01:08 +00:00
parent 4365e00a30
commit 1cfbebfe8c
2 changed files with 3 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ cp library/*FLAGS* tmp_dir/library
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

View File

@@ -648,6 +648,7 @@ then
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 @@ then
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 .