From 8d26610d5fbb07cc7a3509714816ae68db492fcf Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Fri, 23 Aug 1996 16:49:06 +0000 Subject: [PATCH] Add depend to all target so that it's explicit. It's only done once, even if make all is run multiple times, since the depend rule looks for an existing .depend file. --- share/mk/bsd.lib.mk | 4 ++-- share/mk/bsd.prog.mk | 4 ++-- share/mk/bsd.sgml.mk | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index d5146b90db9..a3c74e355e1 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.38 1996/08/03 06:43:05 jkh Exp $ +# $Id: bsd.lib.mk,v 1.39 1996/08/11 12:24:44 peter Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -121,7 +121,7 @@ _LIBS+=lib${LIB}_pic.a PICFLAG=-fpic .endif -all: ${_LIBS} all-man _SUBDIR # llib-l${LIB}.ln +all: depend ${_LIBS} all-man _SUBDIR # llib-l${LIB}.ln OBJS+= ${SRCS:N*.h:R:S/$/.o/g} diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index c0233a241b0..0bba36b480b 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 -# $Id: bsd.prog.mk,v 1.34 1996/06/24 04:24:13 jkh Exp $ +# $Id: bsd.prog.mk,v 1.35 1996/06/29 03:12:49 phk Exp $ .if exists(${.CURDIR}/../Makefile.inc) .include "${.CURDIR}/../Makefile.inc" @@ -135,7 +135,7 @@ MAN1= ${PROG}.1 # here (or does maninstall always work when nothing is made?), .MAIN: all -all: ${PROG} all-man _SUBDIR +all: depend ${PROG} all-man _SUBDIR .if !target(clean) clean: _SUBDIR diff --git a/share/mk/bsd.sgml.mk b/share/mk/bsd.sgml.mk index e8e845d2fd0..aabfbad0680 100644 --- a/share/mk/bsd.sgml.mk +++ b/share/mk/bsd.sgml.mk @@ -1,7 +1,7 @@ # bsd.sgml.mk - 8 Sep 1995 John Fieber # This file is in the public domain. # -# $Id: bsd.sgml.mk,v 1.5 1996/05/27 23:12:15 wosch Exp $ +# $Id: bsd.sgml.mk,v 1.6 1996/06/24 04:24:14 jkh Exp $ # # The include file handles installing sgml documents. # includes the file named "../Makefile.inc" if it exists, @@ -68,7 +68,7 @@ LPR?= lpr DOCS= ${FORMATS:S/^/${DOC}./g} .MAIN: all -all: ${DOCS} +all: depend ${DOCS} # If FORMATS is empty, do nothing .if empty(FORMATS)