summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-08-01 18:11:33 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-08-01 18:11:33 +0000
commit0d3dc4ca85a5ba9a0d9ed002021035f158f2ca7f (patch)
tree0bfd31f5a7235f0a42b9907baa4da1551f685158 /gnu/usr.bin/texinfo/Makefile.bsd-wrapper
parentca77b6da57e48599287f45d2a1ab63c6c5e2b4e3 (diff)
optimize GLOBAL_AUTOCONF_CACHE code
Diffstat (limited to 'gnu/usr.bin/texinfo/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/texinfo/Makefile.bsd-wrapper22
1 files changed, 9 insertions, 13 deletions
diff --git a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
index 4be4ce2619e..c627d468b04 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.18 1997/07/29 03:37:05 kstailey Exp $
+# $Id: Makefile.bsd-wrapper,v 1.19 1997/08/01 18:11:32 kstailey Exp $
INFODIR= infodir=${DESTDIR}/usr/share/info
INFOPATH= DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
@@ -17,25 +17,21 @@ all: config.status
.FORCE: .IGNORE
.ifdef GLOBAL_AUTOCONF_CACHE
-config: .FORCE
- INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --prefix=/usr \
- --cache-file=${GLOBAL_AUTOCONF_CACHE}
-
-config.status:
- INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --prefix=/usr \
- --cache-file=${GLOBAL_AUTOCONF_CACHE}
+CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
.else
+CF=
+.endif
+
config: .FORCE
+.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
+.endif
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --prefix=/usr
+ /bin/sh ${.CURDIR}/configure --prefix=/usr $(CF)
config.status:
INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --prefix=/usr
-.endif
+ /bin/sh ${.CURDIR}/configure --prefix=/usr $(CF)
.ifdef NOMAN
maninstall: