diff options
-rw-r--r-- | Makefile | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -6,9 +6,6 @@ VERSION=$(shell egrep 'my \$$version = .*' iurt|sed -e "s/';//" -e "s/.*'//") VENDORLIB = $(shell eval "`perl -V:installvendorlib`"; echo $$installvendorlib) INSTALLVENDORLIB = $(DESTDIR)$(VENDORLIB) -SVNSOFT=svn+ssh://svn.mageia.org/svn/soft/build_system/iurt/trunk/ -SVNPACKAGE=svn+ssh://svn.mageia.org/svn/packages/cauldron/iurt/current/ - sharedir=/usr/share libdir=/usr/lib bindir=/usr/bin @@ -24,27 +21,9 @@ install: tar: dist dist: - rm -rf ../$(NAME)-$(VERSION).tar* - @if svn info > /dev/null; then \ - $(MAKE) dist-svn; \ - elif [ -e ".git" ]; then \ - $(MAKE) dist-git; \ - else \ - echo "Unknown SCM (not SVN nor GIT)";\ - exit 1; \ - fi; - $(info $(NAME)-$(VERSION).tar.xz is ready) - -dist-svn: - svn export -q -rBASE . $(PACKAGE)-$(VERSION) - tar cfa $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION) - rm -rf $(PACKAGE)-$(VERSION) - -dist-git: git archive --prefix $(NAME)-$(VERSION)/ HEAD | xz -9 > ../$(NAME)-$(VERSION).tar.xz clean: - rm -rf svn submit: clean ci mdvsys submit $(NAME) |