diff options
author | jhay <jhay@FreeBSD.org> | 2001-10-22 08:56:02 +0000 |
---|---|---|
committer | jhay <jhay@FreeBSD.org> | 2001-10-22 08:56:02 +0000 |
commit | 49958ebd30c5a6464ac8d9f0796fe23223ae157d (patch) | |
tree | 35cddaab984a1742491cba96a02d102da7aa6b1c | |
parent | d3087826b3fe4e440b1fb758864fdcc2b4f1bd82 (diff) | |
download | FreeBSD-src-49958ebd30c5a6464ac8d9f0796fe23223ae157d.zip FreeBSD-src-49958ebd30c5a6464ac8d9f0796fe23223ae157d.tar.gz |
Unbreak make world by adding .CURDIR here and there.
Submitted by: Harry Starr <starr3@gccs.com.au>
-rw-r--r-- | share/examples/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile index 1f1b7e4..209f6cc 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -2,7 +2,7 @@ # # Doing a make install builds /usr/share/examples -DIRS!= for i in *; do \ +DIRS!= cd ${.CURDIR}; for i in *; do \ if test -d $$i -a $$i != CVS -a $$i != ipfilter; then \ echo $$i; \ fi; \ @@ -22,10 +22,11 @@ all clean cleandir depend lint tags: beforeinstall: etc-examples ${SHARED} .for dir in ${DIRS} -FILES!= find -L ${dir} \( -name CVS -prune \) -o -type f -print +FILES!= cd ${.CURDIR}; find -L ${dir} \( -name CVS -prune \) -o -type f -print .for file in ${FILES} copies:: - ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${file} ${DDIR}/${file} + ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${.CURDIR}/${file} \ + ${DDIR}/${file} .endfor .endfor |