Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user