summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-06 20:31:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-06 20:31:45 +0000
commitc2cd9d42937ccf67c8bb594102c685afb6b5ff37 (patch)
treef2f1ebff90d4613bd209d46cdf2e8cd9110983c4
parent717dedd6c08d933f409f66fc8a4544536b281c66 (diff)
use beforeinstall; includes walks the tree
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index fbc20be88c3..7e0da9e474c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 1996/04/23 09:47:22 mickey Exp $
+# $OpenBSD: Makefile,v 1.7 1996/05/06 20:31:44 deraadt Exp $
# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $
.include <bsd.own.mk> # for NOMAN, if it's there.
@@ -24,12 +24,12 @@ regression-tests:
@(cd ${.CURDIR}/regress && ${MAKE} regress)
.endif
-#beforeinstall:
-#.ifndef DESTDIR
-# (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
-#.else
-# (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
-#.endif
+beforeinstall:
+.ifndef DESTDIR
+ (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
+.else
+ (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs)
+.endif
afterinstall:
.ifndef NOMAN
@@ -38,7 +38,7 @@ afterinstall:
build:
(cd ${.CURDIR}/share/mk && ${MAKE} install)
- (cd ${.CURDIR}/include && ${MAKE} install)
+ ${MAKE} includes
.if defined(KERBEROS)
(cd ${.CURDIR}/kerberosIV/include && ${MAKE} install)
.endif