summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-09-04 16:26:04 +0100
committerColin Guthrie <colin@mageia.org>2013-09-04 17:46:59 +0100
commit51f8de9822776d7590efbd93519b9795a595e80f (patch)
treee6907db149670cad606adbc675e1998485a4eff0 /Makefile
parentd14826136b6639703d210debc969d75e11259778 (diff)
downloaddrakx-kbd-mouse-x11-51f8de9822776d7590efbd93519b9795a595e80f.tar
drakx-kbd-mouse-x11-51f8de9822776d7590efbd93519b9795a595e80f.tar.gz
drakx-kbd-mouse-x11-51f8de9822776d7590efbd93519b9795a595e80f.tar.bz2
drakx-kbd-mouse-x11-51f8de9822776d7590efbd93519b9795a595e80f.tar.xz
drakx-kbd-mouse-x11-51f8de9822776d7590efbd93519b9795a595e80f.zip
Remove svn support from Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 1 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 6365cb3..db278e3 100644
--- a/Makefile
+++ b/Makefile
@@ -44,29 +44,11 @@ install:
clean:
make -C po clean
-dis: dist
dist:
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:
- rm -rf $(NAME)-$(VERSION)
- svn export -q -rBASE . $(NAME)-$(VERSION)
- 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;
-
-
.PHONY: ChangeLog