diff options
author | midipix <writeonce@midipix.org> | 2021-05-23 15:31:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-05-23 16:10:20 +0000 |
commit | 2fad3a96ffc56ab4d63e584c0a0f80bd9fc63f8e (patch) | |
tree | bd12e42c14228f0e6688f7f0dc9861df7957d34e | |
parent | e6281a53f3bbe5ab059b6ac03f608de17e8ddb7f (diff) | |
download | ntcon-2fad3a96ffc56ab4d63e584c0a0f80bd9fc63f8e.tar.bz2 ntcon-2fad3a96ffc56ab4d63e584c0a0f80bd9fc63f8e.tar.xz |
build system: configure: config_copy(): support alternate make-file templates.
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -747,6 +747,7 @@ config_copy() mb_var_defs= mb_sed_substs= + mb_template="${1:-$mb_project_dir/Makefile.in}" mb_vars=$(cut -d'=' -f1 "$sfrt_config_vars" "$sfrt_opt_vars" \ | grep -v '^#'); @@ -763,9 +764,9 @@ config_copy() eval mb_var_defs='"$mb_var_defs "$mb_var_def' done - eval sed $mb_sed_substs $mb_project_dir/Makefile.in \ - | eval m4 $mb_var_defs - \ - | sed -e 's/[[:blank:]]*$//g' \ + eval sed $mb_sed_substs $mb_template \ + | eval m4 $mb_var_defs - \ + | sed -e 's/[[:blank:]]*$//g' \ > $mb_pwd/Makefile.tmp output_step_epilog |