diff options
author | midipix <writeonce@midipix.org> | 2021-05-23 15:31:24 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-05-23 16:10:19 +0000 |
commit | 199f269dd00e57cab2c97679c1c4d74ecacda98f (patch) | |
tree | d9d60067ccf77776ae9c64deea4178c48e8ebdc9 /configure | |
parent | 63867dc4cbb27097e3bfeb4a7e4b58fd5516ad62 (diff) | |
download | apimagic-199f269dd00e57cab2c97679c1c4d74ecacda98f.tar.bz2 apimagic-199f269dd00e57cab2c97679c1c4d74ecacda98f.tar.xz |
build system: configure: config_copy(): support alternate make-file templates.
Diffstat (limited to 'configure')
-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 |