From 14d68eb9243d83411387133fbe29d741797b86cf Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 11 Dec 1995 03:03:24 +0000 Subject: 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... --- share/examples/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'share/examples/Makefile') 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} -- cgit v1.1