Skip to content

Commit

Permalink
Makefile targets for creating MANIFEST and a release tarball.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Feb 26, 2009
1 parent f4d2486 commit 78023fa
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build/Makefile.in
Expand Up @@ -329,3 +329,14 @@ help:
@echo "Misc:"
@echo " help: Print this help message."
@echo ""

manifest:
echo MANIFEST >MANIFEST
git ls-files | $(PERL) -ne '/^\./ || print' >>MANIFEST

release: manifest
[ -n "$(VERSION)" ] || ( echo "\nTry 'make release VERSION=yyyymm'\n\n"; exit 1 )
[ -d rakudo-$(VERSION) ] || ln -s . rakudo-$(VERSION)
$(PERL) -ne 'print "rakudo-$(VERSION)/$$_"' MANIFEST | \
tar -zcv -T - -f rakudo-$(VERSION).tar.gz
rm rakudo-$(VERSION)

0 comments on commit 78023fa

Please sign in to comment.