summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-09-05 07:16:26 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-09-05 07:16:26 +0000
commitdee2da8102906b0ddb5d9155904df9b663532606 (patch)
tree78a6fc0dfd82732bf19f69222af2cafc2937efe0 /gnu
parent0df7f4c652249351c70dc5f06d3b1884fbbd1b3a (diff)
add support for GLOBAL_AUTOCONF_CACHE
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.sbin/e2fsprogs/Makefile.bsd-wrapper14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/usr.sbin/e2fsprogs/Makefile.bsd-wrapper b/gnu/usr.sbin/e2fsprogs/Makefile.bsd-wrapper
index 7ef1f431828..941bb8b06d9 100644
--- a/gnu/usr.sbin/e2fsprogs/Makefile.bsd-wrapper
+++ b/gnu/usr.sbin/e2fsprogs/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.1 1997/06/14 07:42:54 downsj Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.2 1997/09/05 07:16:25 kstailey Exp $
MAN= misc/badblocks.8 misc/chattr.1 misc/dumpe2fs.8 misc/lsattr.1 \
misc/mklost+found.8 misc/mke2fs.8 misc/tune2fs.8
@@ -23,12 +23,20 @@ all: config.status
.FORCE: .IGNORE
+.ifdef GLOBAL_AUTOCONF_CACHE
+CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
+.else
+CF=
+.endif
+
config: .FORCE
+.ifndef GLOBAL_AUTOCONF_CACHE
-rm -f config.cache
- /bin/sh ${.CURDIR}/configure --prefix=/usr --bindir=/usr/sbin
+.endif
+ /bin/sh ${.CURDIR}/configure --prefix=/usr --bindir=/usr/sbin ${CF}
config.status:
- /bin/sh ${.CURDIR}/configure --prefix=/usr --bindir=/usr/sbin
+ /bin/sh ${.CURDIR}/configure --prefix=/usr --bindir=/usr/sbin ${CF}
.if !defined(NOMAN)
install: ${MANALL} maninstall