From abdf1757e884c32fb21863111dc87749ebe6eb65 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 09 May 2013 12:11:26 -0400 Subject: Makefile.in: Update $(distdir) target. --- 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' -- cgit v0.9.1