Make sure the copies: and symlinks: targets exist in the case of the

empty ".for ..." loop.
This commit is contained in:
Mark Murray
2001-10-23 21:28:39 +00:00
parent 093a27108a
commit f1986f092b
+4
View File
@@ -21,6 +21,8 @@ all clean cleandir depend lint tags:
beforeinstall: etc-examples ${SHARED}
copies::
.for dir in ${DIRS}
FILES!= find -L ${dir} \( -name CVS -prune \) -o -type f -print
.for file in ${FILES}
@@ -29,6 +31,8 @@ copies::
.endfor
.endfor
symlinks::
.for dir in ${DIRS}
symlinks::
rm -rf ${DDIR}/${dir}; ln -s ${.CURDIR}/${dir} ${DDIR}