diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-04-12 09:03:41 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-04-12 09:03:41 +0000 |
commit | baa1e739822cdcf01f697b7b84008a319adc8048 (patch) | |
tree | e602e15b8f1eb86603d3ba2fbcc71100d711314d /Mk | |
parent | Remov 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.mk | 7 |
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) |