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...
This commit is contained in:
Peter Wemm 1995-12-11 03:03:24 +00:00
parent 805a3a9169
commit db181d69a6

View File

@ -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}