summaryrefslogtreecommitdiffstats
path: root/share/examples/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-08-12 16:28:10 +0000
committerjoerg <joerg@FreeBSD.org>1995-08-12 16:28:10 +0000
commita85ef14c30bb816052d67429f6ca15999eb309f3 (patch)
tree48eaf8886e4f28d71b63b629f58e0149b906c32e /share/examples/Makefile
parenta74bc66c0238cabf570e3ea4758f16866686bc7e (diff)
downloadFreeBSD-src-a85ef14c30bb816052d67429f6ca15999eb309f3.zip
FreeBSD-src-a85ef14c30bb816052d67429f6ca15999eb309f3.tar.gz
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.
Diffstat (limited to 'share/examples/Makefile')
-rw-r--r--share/examples/Makefile5
1 files changed, 2 insertions, 3 deletions
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}
OpenPOWER on IntegriCloud