Makefile: Use `install -d' to create directory.

bsd.dep.mk: Add defaults for `beforedepend' and `afterdepend'.
sys.mk: 8 tabs --> space
This commit is contained in:
mycroft 1993-08-15 21:09:20 +00:00
parent f5b2ed3238
commit 781e25808c
3 changed files with 11 additions and 12 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.3 (Berkeley) 6/22/90
# $Id: Makefile,v 1.5 1993/08/15 20:49:25 mycroft Exp $
# $Id: Makefile,v 1.6 1993/08/15 21:09:20 mycroft Exp $
FILES= bsd.README bsd.doc.mk bsd.dep.mk bsd.lib.mk bsd.man.mk bsd.obj.mk \
bsd.own.mk bsd.prog.mk bsd.subdir.mk sys.mk
@ -8,14 +8,7 @@ NOOBJ= noobj
all clean cleandir depend lint tags:
install:
@if [ ! -d ${DESTDIR}${BINDIR}/mk ]; then \
/bin/rm -f ${DESTDIR}${BINDIR}/mk ; \
mkdir -p ${DESTDIR}${BINDIR}/mk ; \
chown root.wheel ${DESTDIR}${BINDIR}/mk ; \
chmod 755 ${DESTDIR}${BINDIR}/mk ; \
else \
true ; \
fi
@install -d -o root -g wheel -m 755 ${DESTDIR}${BINDIR}/mk
install -c -o ${BINOWN} -g ${BINOWN} -m 444 ${FILES} \
${DESTDIR}${BINDIR}/mk

View File

@ -1,4 +1,4 @@
# $Id: bsd.dep.mk,v 1.2 1993/08/15 20:42:39 mycroft Exp $
# $Id: bsd.dep.mk,v 1.3 1993/08/15 21:09:21 mycroft Exp $
# some of the rules involve .h sources, so remove them from mkdep line
.if !target(depend)
@ -15,6 +15,12 @@ depend: beforedepend .depend afterdepend
mkdep -a ${MKDEP} -+ ${CXXFLAGS:M-[ID]*} $$files; \
fi
.endif
.if !target(beforedepend)
beforedepend:
.endif
.if !target(afterdepend)
afterdepend:
.endif
.endif
.if !target(tags)

View File

@ -1,5 +1,5 @@
# from: @(#)sys.mk 5.11 (Berkeley) 3/13/91
# $Id: sys.mk,v 1.6 1993/08/15 20:42:45 mycroft Exp $
# $Id: sys.mk,v 1.7 1993/08/15 21:09:22 mycroft Exp $
unix= We run UNIX.
@ -101,6 +101,6 @@ YFLAGS=-d
rm -f lex.yy.c
.8.0 .7.0 .6.0 .5.0 .4.0 .3.0 .2.0 .1.0:
nroff -mandoc ${.IMPSRC} > ${.TARGET}
nroff -mandoc ${.IMPSRC} > ${.TARGET}
.include <bsd.own.mk>