From 158ed6fd47b7760d32a09efd9916865d0b96cd73 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 15 Jun 2013 13:02:24 -0400 Subject: configure: Only edit top-level makefile. --- diff --git a/configure b/configure index fca8b11..11748d9 100755 --- a/configure +++ b/configure @@ -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. -- cgit v0.9.1