summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index fdce6b7..7011f4a 100755
--- a/configure
+++ b/configure
@@ -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.