aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpmichaud <pmichaud@pobox.com>2012-07-05 11:23:13 -0500
committerpmichaud <pmichaud@pobox.com>2012-07-05 11:23:13 -0500
commitd794b436b1f8508cc7dea643b70537111c5b9eec (patch)
tree4ce5b5409811d83a3c885dc20f8edd58c16418b6
parent8101c73de6fa678d0e8315b0e6c7d2ecc9cb850d (diff)
Update creation of MANIFEST in 'make release' target to better handle files with leading dot.
-rw-r--r--Makefile8
1 files changed, 2 insertions, 6 deletions
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