diff options
author | Jani Välimaa <wally@mageia.org> | 2014-02-23 18:50:12 +0200 |
---|---|---|
committer | Jani Välimaa <wally@mageia.org> | 2014-02-23 18:50:12 +0200 |
commit | ccf73cd91ee9f7855ebd8644224a5949dc801fc5 (patch) | |
tree | 569c9cc242922995bbfd55857faa343da8650cda /Makefile | |
parent | 504c32ad00903f5ecc9ea7261e5e02bf5ae790ac (diff) | |
download | config-ccf73cd91ee9f7855ebd8644224a5949dc801fc5.tar config-ccf73cd91ee9f7855ebd8644224a5949dc801fc5.tar.gz config-ccf73cd91ee9f7855ebd8644224a5949dc801fc5.tar.bz2 config-ccf73cd91ee9f7855ebd8644224a5949dc801fc5.tar.xz config-ccf73cd91ee9f7855ebd8644224a5949dc801fc5.zip |
Simpily dist target in Makefile as we're using GIT only
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -56,27 +56,9 @@ install: install -m 644 data/xfce4/*.rc $(DESTDIR)$(xfceconfdir)/xfce4 install -m 644 data/xfce4/*.xrdb $(DESTDIR)$(xfceconfdir)/xfce4 -dist-svn: - rm -rf $(NAME)-$(XFCEVERSION)* - svn export -q -rBASE . $(NAME)-$(VERSION) - find $(NAME)-$(VERSION) -name .svnignore -delete - tar cfa ../$(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION) - rm -rf $(NAME)-$(VERSION) - -dist-git: - @git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz >../$(NAME)-$(VERSION).tar.xz; - dist: rm -rf ../$(NAME)-$(XFCEVERSION)*.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) |