diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -40,6 +40,16 @@ commit: tar: dist dist: clean + rm -rf ../$(NAME)-$(VERSION).tar* + @if [ -e ".svn" ]; then \ + $(MAKE) dist-svn; \ + else \ + echo "Unknown SCM (not SVN nor GIT)";\ + exit 1; \ + fi; + $(info $(NAME)-$(VERSION).tar.xz is ready) + +dist-svn: svn export -q -rBASE . $(NAME)-$(VERSION) - tar cfj $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) + tar cfj $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(PERL_CHECKER_VERSION) rm -rf $(NAME)-$(VERSION) |