summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.subdir.mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-01-08 10:59:47 +0000
committeragc <agc@pkgsrc.org>1998-01-08 10:59:47 +0000
commit9456e71ade6399d2f9e7511f04380ebc1deae67e (patch)
tree1a936eab3217f15321ca85ff3441384c193f5710 /mk/bsd.pkg.subdir.mk
parentfe742e8d950c700fbfc2ffc9f092e0cdebe9d192 (diff)
downloadpkgsrc-9456e71ade6399d2f9e7511f04380ebc1deae67e.tar.gz
Add lines so that "make readme" in the top level pkgsrc directory, or
one if the categories directories, will call "make readme" in any subdirectories. I thought that this was suggested by Chris Demetriou, but I can't find any PR backing this up. So my apologies to the person who did suggest this.
Diffstat (limited to 'mk/bsd.pkg.subdir.mk')
-rw-r--r--mk/bsd.pkg.subdir.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk
index 62cc078308f..a11a53141d8 100644
--- a/mk/bsd.pkg.subdir.mk
+++ b/mk/bsd.pkg.subdir.mk
@@ -1,6 +1,6 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
# Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp
-# $NetBSD: bsd.pkg.subdir.mk,v 1.4 1997/11/21 16:01:54 agc Exp $
+# $NetBSD: bsd.pkg.subdir.mk,v 1.5 1998/01/08 10:59:47 agc Exp $
#
# The include file <bsd.port.subdir.mk> contains the default targets
# for building ports subdirectories.
@@ -151,3 +151,6 @@ README.html:
-e '/%%SUBDIR%%/d' \
> $@
@rm -f $@.tmp $@.tmp2 $@.tmp3
+.for subdir in ${SUBDIR}
+ @cd ${subdir} && make readme
+.endfor