aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>1997-03-09 00:14:00 +0000
committerWolfram Schneider <wosch@FreeBSD.org>1997-03-09 00:14:00 +0000
commitf5d738c8dfafb31c83d9f3e8f4fb6cc2bf4c6415 (patch)
treec29c9910a2ca8e64e61fc3f2b5f76611103e453b
parentf7ea12a0b62d540d8842cebaac6ab5a671b792e5 (diff)
downloadsrc-f5d738c8dfafb31c83d9f3e8f4fb6cc2bf4c6415.tar.gz
src-f5d738c8dfafb31c83d9f3e8f4fb6cc2bf4c6415.zip
Add comments.
Notes
Notes: svn path=/head/; revision=23549
-rw-r--r--share/mk/bsd.subdir.mk35
1 files changed, 33 insertions, 2 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index d7159fbc5f14..644e5f7e9220 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -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