From aa8b08354c087d5baaf904fffeeb5b0d074adb9e Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 24 Jan 2012 20:23:12 -0500 Subject: Start trying to modularize the makefiles. --- (limited to 'configure') diff --git a/configure b/configure index 69af311..17f2949 100755 --- a/configure +++ b/configure @@ -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' -- cgit v0.9.1