summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-04-12 09:03:41 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-04-12 09:03:41 +0000
commitbaa1e739822cdcf01f697b7b84008a319adc8048 (patch)
treee602e15b8f1eb86603d3ba2fbcc71100d711314d /Mk
parentRemov empty trailing line. (diff)
Check for missing directories (listed in SUBDIR but non-existent) in
"checksubdirs" too.
Notes
Notes: svn path=/head/; revision=17811
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.subdir.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 55671dc61b0e..730636425562 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91
-# $Id: bsd.port.subdir.mk,v 1.27 1998/12/12 07:39:30 asami Exp $
+# $Id: bsd.port.subdir.mk,v 1.28 1999/01/29 12:51:43 asami Exp $
#
# The include file <bsd.port.subdir.mk> contains the default targets
# for building ports subdirectories.
@@ -127,6 +127,11 @@ checksubdir:
fi; \
fi; \
done
+.for s in ${SUBDIR}
+.if !exists(${.CURDIR}/$s/)
+ @${ECHO} "Warning: directory $s in SUBDIR does not exist"
+.endif
+.endfor
.endif
.if !target(readmes)