summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-29 03:16:31 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-29 03:16:31 +0000
commit5f4d560948715851e29818a6ab0b69563734a243 (patch)
tree2296a7cf755d78b8f50c9e4c185a6b61fcb951cf /gnu
parentd8717a8bb954e55bbf7b432efcc4ff0ae2af2ca4 (diff)
Start of GLOBAL_CACHE option to speed compiles.
This change should have no effect by default. "setenv GLOBAL_CACHE" or add GLOBAL_CACHE to /etc/mk.conf to activate. Global cache files are on a per-account basis to deal with security.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/texinfo/Makefile.bsd-wrapper14
1 files changed, 13 insertions, 1 deletions
diff --git a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
index 670d35c1ce9..f1814f088b6 100644
--- a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $Id: Makefile.bsd-wrapper,v 1.16 1997/07/24 20:08:25 kstailey Exp $
+# $Id: Makefile.bsd-wrapper,v 1.17 1997/07/29 03:16:30 kstailey Exp $
INFODIR= infodir=${DESTDIR}/usr/share/info
INFOPATH= DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
@@ -16,6 +16,17 @@ all: config.status
.FORCE: .IGNORE
+.ifdef GLOBAL_CACHE
+config: .FORCE
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure --prefix=/usr \
+ --cache-file=${HOME}/.Makefile.bsd-wrapper.cache
+
+config.status:
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure --prefix=/usr \
+ --cache-file=${HOME}/.Makefile.bsd-wrapper.cache
+.else
config: .FORCE
-rm -f config.cache
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
@@ -24,6 +35,7 @@ config: .FORCE
config.status:
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --prefix=/usr
+.endif
.ifdef NOMAN
maninstall: