diff options
author | peter <peter@FreeBSD.org> | 1995-12-11 03:03:24 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-12-11 03:03:24 +0000 |
commit | 14d68eb9243d83411387133fbe29d741797b86cf (patch) | |
tree | f8cfb08426278bb66777838094ac86e98c308fed | |
parent | ae262ecbdccf899160652f85e89885067de80aa6 (diff) | |
download | FreeBSD-src-14d68eb9243d83411387133fbe29d741797b86cf.zip FreeBSD-src-14d68eb9243d83411387133fbe29d741797b86cf.tar.gz |
Dive in the deep end and change the examples installation method.. :-/
the 'rm -rf' and cpio was bugging me because rdist used to get false hits
and also it installs the files with the wrong uid.
I've tried this by running a find .. -exec ${INSTALL} ...; instead...
-rw-r--r-- | share/examples/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/share/examples/Makefile b/share/examples/Makefile index 0b56f23..9b21c54 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.16 1995/09/14 23:49:21 ache Exp $ +# $Id: Makefile,v 1.17 1995/09/30 15:46:54 jfieber Exp $ # # Doing a make install builds /usr/share/examples @@ -19,10 +19,8 @@ beforeinstall: ${SHARED} copies: @${ECHO} installing ${DDIR} - @-for a in ${DIRS}; do \ - rm -rf ${DDIR}/$$a; \ - done - find ${DIRS} \( -name CVS -prune \) -o -print | cpio -dumpv ${DDIR} + find ${DIRS} \( -name CVS -prune \) -o -type f -print -exec \ + ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 644 {} ${DDIR}/{} \; symlinks: @${ECHO} installing symlinks in ${DDIR} |