summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.subdir.mk
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-03-09 00:14:00 +0000
committerwosch <wosch@FreeBSD.org>1997-03-09 00:14:00 +0000
commit6576c97bc097761ae51c7bf6b05f4a1dbb152fc5 (patch)
tree271214a97f71825c8bdc04a6b597ad44f2ee3ddc /share/mk/bsd.subdir.mk
parentb3214dac27a4faf584604ae7945297f5c5ed52e8 (diff)
downloadFreeBSD-src-6576c97bc097761ae51c7bf6b05f4a1dbb152fc5.zip
FreeBSD-src-6576c97bc097761ae51c7bf6b05f4a1dbb152fc5.tar.gz
Add comments.
Diffstat (limited to 'share/mk/bsd.subdir.mk')
-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 d7159fb..644e5f7 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
OpenPOWER on IntegriCloud