diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -171,6 +171,7 @@ missing_dependencies=false find_dependency sh SHELL /bin find_dependency install INSTALL /usr/bin +find_dependency make MAKE /usr/bin if ${missing_dependencies}; then printf '\nSome dependencies could not be found.\n' @@ -181,6 +182,7 @@ fi sed_script=" s&@shell@&${SHELL}& s&@install@&${INSTALL} -c& +s&@make@&${MAKE}& s&@srcdir@&${SRCDIR}& s&@prefix@&${PREFIX}& s&@bindir@&${BINDIR}& @@ -188,6 +190,10 @@ s&@libdir@&${LIBDIR}& s&@mandir@&${MANDIR}&" # Replace configuration variables in Makefile.in +mkdir src lib man sed "$sed_script" ${SRCDIR}/Makefile.in > Makefile +sed "$sed_script" ${SRCDIR}/src/Makefile.in > src/Makefile +sed "$sed_script" ${SRCDIR}/lib/Makefile.in > lib/Makefile +sed "$sed_script" ${SRCDIR}/man/Makefile.in > man/Makefile printf '\nConfiguration complete!\n\n' |