From 06ea7decdeb2e7d2cdb0857f59623c3e919489d1 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 15 Jun 2013 15:19:18 -0400 Subject: Makefile.in: Make $(distdir) target non-recursive. --- 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' -- cgit v0.9.1