From a85ef14c30bb816052d67429f6ca15999eb309f3 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 12 Aug 1995 16:28:10 +0000 Subject: Do not omit the Makefiles when installing the examples; they are part of them. Also correct the omission of CVS files by abusing the find syntax instead of grepping. Closes PR #bin/636. --- share/examples/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'share/examples/Makefile') diff --git a/share/examples/Makefile b/share/examples/Makefile index 759e6fa..180a592 100644 --- a/share/examples/Makefile +++ b/share/examples/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.12 1994/11/08 18:54:33 phk Exp $ +# $Id: Makefile,v 1.13 1995/03/30 00:05:58 ache Exp $ # # Doing a make install builds /usr/share/examples @@ -22,8 +22,7 @@ copies: @-for a in ${DIRS}; do \ rm -rf ${DDIR}/$$a; \ done - find ${DIRS} -print | grep -v /CVS | \ - grep -v Makefile | cpio -dumpv ${DDIR} + find ${DIRS} \( -name CVS -prune \) -o -print | cpio -dumpv ${DDIR} symlinks: @${ECHO} installing symlinks in ${DDIR} -- cgit v1.1