summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 1 insertions, 21 deletions
diff --git a/Makefile b/Makefile
index afe806d..7f3611e 100644
--- a/Makefile
+++ b/Makefile
@@ -31,30 +31,10 @@ install: clean all
install -d $(DESTDIR)$(fake_packages_dir)
cd fake_packages ; tar c `find . -name "*.pm"` | tar xC $(DESTDIR)$(fake_packages_dir)
-update:
- svn update
-
-commit:
- svn commit
-
tar: dist
dist: clean
rm -rf ../$(NAME)-$(VERSION).tar*
- @if [ -e ".svn" ]; then \
- $(MAKE) dist-svn; \
- elif [ -e ".git" ]; then \
- $(MAKE) dist-git; \
- else \
- echo "Unknown SCM (not SVN nor GIT)";\
- exit 1; \
- fi;
+ @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;
$(info $(NAME)-$(VERSION).tar.xz is ready)
-dist-svn:
- svn export -q -rBASE . $(NAME)-$(VERSION)
- tar cfj $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(PERL_CHECKER_VERSION)
- rm -rf $(NAME)-$(VERSION)
-
-dist-git:
- @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz;