diff options
author | pmichaud <pmichaud@pobox.com> | 2012-07-05 11:23:13 -0500 |
---|---|---|
committer | pmichaud <pmichaud@pobox.com> | 2012-07-05 11:23:13 -0500 |
commit | d794b436b1f8508cc7dea643b70537111c5b9eec (patch) | |
tree | 4ce5b5409811d83a3c885dc20f8edd58c16418b6 | |
parent | 8101c73de6fa678d0e8315b0e6c7d2ecc9cb850d (diff) |
Update creation of MANIFEST in 'make release' target to better handle files with leading dot.
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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 |