1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

Add comments.

This commit is contained in:
Wolfram Schneider 1997-03-09 00:14:00 +00:00
parent f7ea12a0b6
commit f5d738c8df
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=23549

View File

@ -1,5 +1,36 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
# $Id$
# $Id: bsd.subdir.mk,v 1.13 1997/02/22 13:56:14 peter Exp $
#
# The include file <bsd.subdir.mk> contains the default targets
# for building subdirectories. It has the same seven targets
# as <bsd.prog.mk>:
# all, clean, cleandir, depend, install, lint, and tags.
#
# For all of the directories listed in the variable SUBDIRS, the
# specified directory will be visited and the target made. There is
# also a default target which allows the command "make subdir" where
# subdir is any directory listed in the variable SUBDIRS.
#
#
# +++ variables +++
#
# DISTRIBUTION Name of distribution. [bin]
#
# SUBDIR A list of subdirectories that should be built as well.
# Each of the targets will execute the same target in the
# subdirectories.
#
# +++ targets +++
#
# distribute:
# This is a variant of install, which will
# put the stuff into the right "distribution".
#
# afterdistribute, afterinstall, all, beforeinstall, checkdpadd,
# clean, cleandepend, cleandir, depend, install, lint, maninstall,
# obj, objlink, realinstall, tags
#
.MAIN: all
@ -50,6 +81,6 @@ DISTRIBUTION?= bin
afterdistribute:
.endif
.if !target(distribute)
distribute: _SUBDIRUSE
distribute: _SUBDIRUSE
cd ${.CURDIR} ; ${MAKE} afterdistribute DESTDIR=${DISTDIR}/${DISTRIBUTION}
.endif