summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure7
1 files changed, 3 insertions, 4 deletions
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.