summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile20
-rw-r--r--Makefile.config1
2 files changed, 1 insertions, 20 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
diff --git a/Makefile.config b/Makefile.config
index 58de449..36f56aa 100644
--- a/Makefile.config
+++ b/Makefile.config
@@ -1,3 +1,2 @@
NAME = drakx-kbd-mouse-x11
VERSION = 0.109
-BRANCH = trunk