From d794b436b1f8508cc7dea643b70537111c5b9eec Mon Sep 17 00:00:00 2001 From: pmichaud Date: Thu, 5 Jul 2012 11:23:13 -0500 Subject: Update creation of MANIFEST in 'make release' target to better handle files with leading dot. --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8b69a2b..d089ca9 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ DISTTARGETS = \ dist: version_check $(DISTDIR) $(DISTTARGETS) version_check: - @[ -n "$(VERSION)" ] || ( echo "\nTry 'make VERSION=yyyy.mm'\n\n"; exit 1) + @[ -n "$(VERSION)" ] || ( echo "\nTry 'make release VERSION=yyyy.mm'\n\n"; exit 1) always: @@ -101,11 +101,7 @@ star-patches: $(DISTDIR)/MANIFEST: touch $(DISTDIR)/MANIFEST - find $(DISTDIR) -name '.*' -prune -o -type f -print | sed -e 's|^[^/]*/||' >$(DISTDIR)/MANIFEST - ## add the two dot-files from Parrot MANIFEST - echo "$(PARROT)/.gitignore" >>$(DISTDIR)/MANIFEST - echo "$(PARROT)/tools/dev/.gdbinit" >>$(DISTDIR)/MANIFEST - sort -o $(DISTDIR)/MANIFEST $(DISTDIR)/MANIFEST + find $(DISTDIR) -name '.git' -prune -o -type f -print | sed -e 's|^[^/]*/||' | sort >$(DISTDIR)/MANIFEST release: dist tarball -- cgit v1.1