summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:23:45 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 15:24:21 +0100
commita79fe755f730aaa3e1a1a613cd77730f0f0f1eb3 (patch)
treed7723ff9a47639ef8768e0cd30fd3620648f9f90 /Makefile
parentdc07d338ea678744280d4bfd46053407dcdec68a (diff)
downloaddrakwizard-a79fe755f730aaa3e1a1a613cd77730f0f0f1eb3.tar
drakwizard-a79fe755f730aaa3e1a1a613cd77730f0f0f1eb3.tar.gz
drakwizard-a79fe755f730aaa3e1a1a613cd77730f0f0f1eb3.tar.bz2
drakwizard-a79fe755f730aaa3e1a1a613cd77730f0f0f1eb3.tar.xz
drakwizard-a79fe755f730aaa3e1a1a613cd77730f0f0f1eb3.zip
drop SVN bits
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 1 insertions, 22 deletions
diff --git a/Makefile b/Makefile
index 3e2c2260..92df03e3 100644
--- a/Makefile
+++ b/Makefile
@@ -64,31 +64,10 @@ dist: clean
find . -maxdepth 2 -name '*.p[lm]' -print0 | xargs -t -0 -n1 perl -cw \
-I/usr/lib/libDrakX > /dev/null 2>&1
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;
- $(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;
+ $(info $(NAME)-$(VERSION).tar.xz is ready)
log: changelog
-changelog:
- ( svn2cl --authors=../../common/username --accum ; \
- rm -f ChangeLog.bak ; \
- svn commit -m "Generated by svn2cl the `date '+%c'`" ChangeLog ; \
- )
clean_test:
rm -rf test