diff options
author | P. 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) |
commit | abdf1757e884c32fb21863111dc87749ebe6eb65 (patch) | |
tree | a33d894ddbf60d0397e433f63bf34be6995b782d /Makefile.in | |
parent | 8d7f8fea5722b569083f30556a3dff9b681b3a64 (diff) |
Makefile.in: Update $(distdir) target.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
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' |