1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85381

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}