diff options
-rw-r--r-- | Makefile.in | 12 |
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' |