summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-06-15 15:19:18 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-06-15 15:19:18 (EDT)
commit06ea7decdeb2e7d2cdb0857f59623c3e919489d1 (patch)
tree91348e7afac0f6d903f33829c91700ab111cb3b8
parentee050b3bb00a9f1d7880add3f136ccad5210469e (diff)
Makefile.in: Make $(distdir) target non-recursive.
-rw-r--r--Makefile.in12
1 files changed, 4 insertions, 8 deletions
diff --git a/Makefile.in b/Makefile.in
index a4b6be7..0c48098 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -250,14 +250,10 @@ test: all
$(distdir):
@mkdir -p '$(distdir)'
- @cp -pR $(distfiles) '$(distdir)'
- @cd src && $(MAKE) '../$(distdir)/src'
- @cd lib && $(MAKE) '../$(distdir)/lib'
- @cd lib/package && $(MAKE) '../../$(distdir)/lib/package'
- @cd lib/metadata && $(MAKE) '../../$(distdir)/lib/metadata'
- @cd locale && $(MAKE) '../$(distdir)/locale'
- @cd man && $(MAKE) '../$(distdir)/man'
- @cd tests && $(MAKE) '../$(distdir)/tests'
+ @set -e; for f in $(distfiles); do \
+ mkdir -p "$(distdir)/$$(dirname $${f})"; \
+ cp -p "$${f}" "$(distdir)/$${f}"; \
+ done
dist dist-gzip: $(distdir)
@tar -cf - '$(distdir)' | gzip -9c > '$(distdir).tar.gz'