aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJani Välimaa <wally@mageia.org>2014-02-23 18:50:12 +0200
committerJani Välimaa <wally@mageia.org>2014-02-23 18:50:12 +0200
commitccf73cd91ee9f7855ebd8644224a5949dc801fc5 (patch)
tree569c9cc242922995bbfd55857faa343da8650cda /Makefile
parent504c32ad00903f5ecc9ea7261e5e02bf5ae790ac (diff)
downloadconfig-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--Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 7787a2c..f274c15 100644
--- a/Makefile
+++ b/Makefile
@@ -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)