[glibmm] fix release targets in makefile for git transition
- From: Jonathon Jongsma <jjongsma src gnome org>
- To: svn-commits-list gnome org
- Subject: [glibmm] fix release targets in makefile for git transition
- Date: Mon, 13 Jul 2009 16:31:51 +0000 (UTC)
commit 0222c48af78c02ba3a55006bafd3a9f5a2e6db60
Author: Jonathon Jongsma <jonathon quotidian org>
Date: Mon Jul 13 10:18:32 2009 -0500
fix release targets in makefile for git transition
ChangeLog | 4 ++++
Makefile.am | 10 ++--------
2 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index b1ea583..9ace033 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,10 @@
2009-07-13 Jonathon Jongsma <jonathon quotidian org>
+ * Makefile.am: fix release targets since we switched to git
+
+2009-07-13 Jonathon Jongsma <jonathon quotidian org>
+
* NEWS: updated
* configure.ac: bumped version for release
diff --git a/Makefile.am b/Makefile.am
index 249db98..d1801f0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -60,16 +60,10 @@ doc-clean: doc-clean-recursive
doc-rebuild:
(cd docs && $(MAKE) $(AM_MAKEFLAGS) doc-rebuild)
-SVN_REV=`svnversion -n`
-URL_KEY=URL:
-SVN_PATH=`svn info |grep "$(URL_KEY)" |sed -e "s/$(URL_KEY)\s*//"`
-ROOT_KEY=Repository Root:
-SVN_ROOT=`svn info |grep "$(ROOT_KEY)" |sed -e "s/$(ROOT_KEY)\s*//"`
+GIT = $(top_srcdir)/scripts/missing --run git
tag-release: distcheck
- @svn cp -r$(SVN_REV) -m "tag $(PACKAGE) $(VERSION)" $(SVN_PATH) $(SVN_ROOT)/tags/$(PACKAGE)-$(VERSION) \
- || (echo "Tagging failed. Do you have local changes that are not committed?" \
- && echo "Try running 'svn update'." && false)
+ $(GIT) tag -s -m "$(PACKAGE) release $(VERSION)" v$(VERSION)
@echo "Release Tagged."
upload-release: tag-release
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]