summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-09-14 14:36:07 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-09-14 14:36:52 +0200
commit46636537c74e5bf216fa8b844f624f96fd355b31 (patch)
treee82a3df0b69415203a0813cd8fc7b0970e2c1358
parent2c4de4708c98b63083055f7e1dc93941527dfc0b (diff)
downloadbootloader-utils-46636537c74e5bf216fa8b844f624f96fd355b31.tar
bootloader-utils-46636537c74e5bf216fa8b844f624f96fd355b31.tar.gz
bootloader-utils-46636537c74e5bf216fa8b844f624f96fd355b31.tar.bz2
bootloader-utils-46636537c74e5bf216fa8b844f624f96fd355b31.tar.xz
bootloader-utils-46636537c74e5bf216fa8b844f624f96fd355b31.zip
drop dist-svn & related rules
-rw-r--r--Makefile30
1 files changed, 1 insertions, 29 deletions
diff --git a/Makefile b/Makefile
index 639ae25..ba4bc5a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,6 @@ PACKAGE=bootloader-utils
VERSION=1.16
TAG = $(VERSION)
-SVN_URL := $(shell svn info | sed -n '/^URL[^:]*: *\(.*\)/s//\1/p')
-SVNROOT := $(shell dirname $(SVN_URL))
-SVNCOPY = $(SVN_URL)
-
all: check
check:
@@ -52,35 +48,11 @@ localcopy:
# rules to build a distributable dist
dist: cleandist
- @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 $(PACKAGE)-$(VERSION).tar.xz is ready)
-
-dist-git:
@git archive --prefix=$(PACKAGE)-$(VERSION)/ HEAD | xz >../$(PACKAGE)-$(VERSION).tar.xz;
-
-dist-svn:
- svn export $(SVNROOT)/releases/$(TAG) $(PACKAGE)-$(VERSION)
- tar cvfa $(PACKAGE)-$(VERSION).tar.xz $(PACKAGE)-$(VERSION)
- rm -rf $(PACKAGE)-$(VERSION)
+ $(info $(PACKAGE)-$(VERSION).tar.xz is ready)
svntag:
-svn mkdir $(SVN_BASE)/releases/$(TAG) -m "created directory $(TAG)"
svn copy $(SVNCOPY) $(SVNROOT)/releases/$(TAG) -m "Tagged as $(TAG)"
-localchangelog:
-#svn2cl is available in our contrib.
- svn cat `dirname $(SVNROOT)`/common/username.xml > $$TMPDIR/username.xml; \
- svn2cl --authors $$TMPDIR/username.xml --accum; \
- rm -f ChangeLog.bak $$TMPDIR/username.xml
-
-changelog: localchangelog
- svn commit -m "Generated by svn2cl the `date '+%d_%b'`" ChangeLog
-
# Makefile ends here