diff options
author | P. J. McDermott <pjm@nac.net> | 2013-06-15 13:02:24 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-06-15 13:02:24 (EDT) |
commit | 158ed6fd47b7760d32a09efd9916865d0b96cd73 (patch) | |
tree | a59696d57c80cac35b19bce2defc12b0dcb9be84 /configure | |
parent | a5bba3e6fc970d6ea91d9679dbeb0c90fcf60b65 (diff) |
configure: Only edit top-level makefile.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -320,6 +320,8 @@ find_dep_lib() write_makefiles() { + mkdir -p src lib lib/package lib/metadata locale man tests + # Make a script to edit input makefiles. _sed_script='' for _var in ${subst_vars}; do @@ -327,10 +329,7 @@ write_makefiles() _sed_script="${_sed_script}s&@${_var}@&$(eval echo \$\{"${_var}"\})&g;" done - for _dir in . src lib lib/package lib/metadata locale man tests; do - mkdir -p "${_dir}" - sed "${_sed_script}" "${srcdir}/${_dir}/Makefile.in" >"${_dir}/Makefile" - done + sed "${_sed_script}" "${srcdir}/Makefile.in" >'Makefile' # New and improved kludge to generate system configuration for testing. # TODO: Remove when no longer used. |