aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-12-23 11:11:40 +0000
committerWill Andrews <will@FreeBSD.org>2001-12-23 11:11:40 +0000
commitf8a48d00c25385b925762302e6c78f7eadc54e87 (patch)
tree346aad6e9e861eaf09e7a37f26643f55645e2896 /Mk
parent5c4150e92b9d06afb2d6216d85d783369553e7fb (diff)
downloadports-f8a48d00c25385b925762302e6c78f7eadc54e87.tar.gz
ports-f8a48d00c25385b925762302e6c78f7eadc54e87.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.subdir.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.subdir.mk b/Mk/bsd.port.subdir.mk
index 5a6511c54f6f..61cdec288761 100644
--- a/Mk/bsd.port.subdir.mk
+++ b/Mk/bsd.port.subdir.mk
@@ -207,12 +207,14 @@ README.html:
@echo "===> Creating README.html"
@> $@.tmp
.for entry in ${SUBDIR}
+.if exists(${entry})
.if defined(PORTSTOP)
@echo -n '<a href="'${entry}/README.html'">'"`echo ${entry} | ${HTMLIFY}`"'</a>: ' >> $@.tmp
.else
@echo -n '<a href="'${entry}/README.html'">'"`cd ${entry}; make package-name | ${HTMLIFY}`</a>: " >> $@.tmp
.endif
@cat `cd ${entry}; make -V COMMENT` | ${HTMLIFY} >> $@.tmp
+.endif
.endfor
@sort -t '>' +1 -2 $@.tmp > $@.tmp2
.if exists(${DESCR})