summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAnthony Mallet <mallet@laas.fr>2003-09-27 17:14:08 +0000
committerAnthony Mallet <mallet@laas.fr>2003-09-27 17:14:08 +0000
commitb0f5f0a209464f0f9ad7763cb722fdb458e3b459 (patch)
tree762d5583a22205e072a169f10ec8ff8f05d4a9a8 /Makefile.in
parent7f9d747901da5c65a08b59e37061f29ddb9f6240 (diff)
downloadeltclsh-b0f5f0a209464f0f9ad7763cb722fdb458e3b459.tar.gz
fix dist target for NetBSD: find doesn't like removing directories with -exec
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 9d3ae10..567b3b5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -47,7 +47,7 @@ config_headers = \
config.h
dist_path= bin/eltclsh
-dist_name= eltclsh-1.1
+dist_name= eltclsh-1.2
VPATH= $(srcdir)
@@ -120,8 +120,10 @@ install-catdoc:
dist:
mkdir -p $(dist_path)
(cd $(topsrcdir); tar cf - .) | (cd $(dist_path); tar xpf -)
- find $(dist_path) \( -name "CVS" -o -name "*~" \) -exec rm -rf {} \;
- rm -rf $(dist_path)/autom4te.cache
+ find $(dist_path) \( \
+ -name "CVS" -o \
+ -name "*~" -o \
+ -name "autom4te.cache" \) | xargs rm -rf
tar cf - $(dist_path) | gzip -c -9 > $(dist_name).tar.gz
rm -rf $(dist_path)