From 88712008b0f738f5aed4b918c5e76019d18c26c9 Mon Sep 17 00:00:00 2001 From: markm Date: Tue, 23 Oct 2001 21:28:39 +0000 Subject: Make sure the copies: and symlinks: targets exist in the case of the empty ".for ..." loop. --- share/examples/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'share/examples') diff --git a/share/examples/Makefile b/share/examples/Makefile index 1f1b7e4..b589473 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -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} -- cgit v1.1