Skip to content

Commit

Permalink
get krb4 includes installed, do distrib-dirs if DESTDIR not set
Browse files Browse the repository at this point in the history
  • Loading branch information
tls committed Dec 9, 1995
1 parent cc97ad8 commit 3c7019e
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.25 1995/10/09 02:11:28 thorpej Exp $
# $NetBSD: Makefile,v 1.26 1995/12/09 22:39:46 tls Exp $

# NOTE THAT etc *DOES NOT* BELONG IN THE LIST BELOW

Expand All @@ -23,25 +23,30 @@ regression-tests:

.include <bsd.own.mk> # for NOMAN, if it's there.

#beforeinstall:
# (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
beforeinstall:
.ifndef DESTDIR
(cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs)
.endif

afterinstall:
.ifndef NOMAN
(cd ${.CURDIR}/share/man && ${MAKE} makedb)
.endif

build:
.if exists(domestic)
{cd ${.CURDIR}/domestic/include && ${MAKE} install)
.endif
(cd ${.CURDIR}/include && ${MAKE} install)
${MAKE} cleandir
(cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
(cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && ${MAKE} install)
.if exists(domestic)
(cd ${.CURDIR}/domestic/libcrypt && ${MAKE} depend && ${MAKE} && ${MAKE} install)
.endif
.if exists(kerberosIV)
(cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
.endif
#.if exists(kerberosIV)
# (cd ${.CURDIR}/kerberosIV && ${MAKE} depend && ${MAKE} && ${MAKE} install)
#.endif
${MAKE} depend && ${MAKE} && ${MAKE} install

.include <bsd.subdir.mk>

0 comments on commit 3c7019e

Please sign in to comment.