summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-05-09 12:11:26 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-05-09 12:11:26 (EDT)
commitabdf1757e884c32fb21863111dc87749ebe6eb65 (patch)
treea33d894ddbf60d0397e433f63bf34be6995b782d /Makefile.in
parent8d7f8fea5722b569083f30556a3dff9b681b3a64 (diff)
Makefile.in: Update $(distdir) target.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in
index 7cd067b..8043c08 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -236,12 +236,10 @@ uninstall-locale:
$(distdir):
@mkdir -p '$(distdir)'
- @cp -pR $(distfiles) '$(distdir)'
- @cd src && $(MAKE) '../$(distdir)/src'
- @cd lib && $(MAKE) '../$(distdir)/lib'
- @cd lib/buildsystem && $(MAKE) '../../$(distdir)/lib/buildsystem'
- @cd locale && $(MAKE) '../$(distdir)/locale'
- @cd man && $(MAKE) '../$(distdir)/man'
+ @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'