summaryrefslogtreecommitdiffstats
path: root/share/examples
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-10-23 21:28:39 +0000
committermarkm <markm@FreeBSD.org>2001-10-23 21:28:39 +0000
commit88712008b0f738f5aed4b918c5e76019d18c26c9 (patch)
treeadae509f14d24cbc76b332131789970e404ebbb1 /share/examples
parent88013694b76bb1afdf1b7bfc419892797ea106e2 (diff)
downloadFreeBSD-src-88712008b0f738f5aed4b918c5e76019d18c26c9.zip
FreeBSD-src-88712008b0f738f5aed4b918c5e76019d18c26c9.tar.gz
Make sure the copies: and symlinks: targets exist in the case of the
empty ".for ..." loop.
Diffstat (limited to 'share/examples')
-rw-r--r--share/examples/Makefile4
1 files changed, 4 insertions, 0 deletions
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}
OpenPOWER on IntegriCloud