diff options
author | P. J. McDermott <pjm@nac.net> | 2013-05-05 16:01:07 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-05-05 16:01:07 (EDT) |
commit | f693bc8852ec1f0b5b0d68219fb71e57cd286cef (patch) | |
tree | 9eecc0879956ca61b63c74f5b6cef0077a613364 | |
parent | e214ce9fa75a77436bbca77ffc9b78de31962277 (diff) |
configure: Only edit top-level makefile.
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -315,17 +315,17 @@ find_dep_lib() write_makefiles() { + for _dir in src lib lib/buildsystem locale man; do + mkdir "${_dir}" + done + # Make a script to edit input makefiles. _sed_script='' for _var in ${subst_vars}; do _var="$(printf '%s' "${_var}" | tr -c '[a-z0-9]' '_')" _sed_script="${_sed_script}s&@${_var}@&$(eval echo \$\{"${_var}"\})&g;" done - - for _dir in . src lib lib/buildsystem locale man; 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 an architecture table for testing. # TODO: Remove when no longer used. |