mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-11 20:03:28 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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 .
|
||||
|
||||
Reference in New Issue
Block a user