summaryrefslogtreecommitdiffstats
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-11 03:03:24 +0000
committerpeter <peter@FreeBSD.org>1995-12-11 03:03:24 +0000
commit14d68eb9243d83411387133fbe29d741797b86cf (patch)
treef8cfb08426278bb66777838094ac86e98c308fed /share/examples/Makefile
parentae262ecbdccf899160652f85e89885067de80aa6 (diff)
downloadFreeBSD-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...
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile8
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}
OpenPOWER on IntegriCloud