aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.subdir.mk
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>1999-04-12 17:03:41 +0800
committerasami <asami@FreeBSD.org>1999-04-12 17:03:41 +0800
commit45cde9f6f157e0ca0a07a83f8e8c12fc143487c8 (patch)
treeb3f237b81099256f88c48f3b802173396fc0059c /Mk/bsd.port.subdir.mk
parent47014651b7d8caf36012c613d02f643ffb46abba (diff)
downloadfreebsd-ports-gnome-45cde9f6f157e0ca0a07a83f8e8c12fc143487c8.tar.gz
freebsd-ports-gnome-45cde9f6f157e0ca0a07a83f8e8c12fc143487c8.tar.zst
freebsd-ports-gnome-45cde9f6f157e0ca0a07a83f8e8c12fc143487c8.zip
Check for missing directories (listed in SUBDIR but non-existent) in
"checksubdirs" too.
Diffstat (limited to 'Mk/bsd.port.subdir.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)