aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Hay <jhay@FreeBSD.org>2001-10-22 16:32:44 +0000
committerJohn Hay <jhay@FreeBSD.org>2001-10-22 16:32:44 +0000
commitdefe677bdf6dfae8cdba808572670bd11a227982 (patch)
treec3ea2118feb4d3041899dccdd564709917066bc6 /share
parentc193b945eb49a7fe30fcf892fdadb715aad045ff (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/examples/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile
index 209f6cc84371..1f1b7e4fbd68 100644
--- a/share/examples/Makefile
+++ b/share/examples/Makefile
@@ -2,7 +2,7 @@
#
# Doing a make install builds /usr/share/examples
-DIRS!= cd ${.CURDIR}; for i in *; do \
+DIRS!= for i in *; do \
if test -d $$i -a $$i != CVS -a $$i != ipfilter; then \
echo $$i; \
fi; \
@@ -22,11 +22,10 @@ all clean cleandir depend lint tags:
beforeinstall: etc-examples ${SHARED}
.for dir in ${DIRS}
-FILES!= cd ${.CURDIR}; find -L ${dir} \( -name CVS -prune \) -o -type f -print
+FILES!= find -L ${dir} \( -name CVS -prune \) -o -type f -print
.for file in ${FILES}
copies::
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/${file} \
- ${DDIR}/${file}
+ ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${file} ${DDIR}/${file}
.endfor
.endfor