This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/xawtv3.git tree:
Subject: Move archive/tag targets to Makefile.in Author: Mauro Carvalho Chehab <[email protected]> Date: Thu Jan 27 23:52:13 2011 -0200 This allows automatically increasing the version number by just editing the Changes file. Signed-off-by: Mauro Carvalho Chehab <[email protected]> Makefile | 9 --------- Makefile.in | 10 +++++++--- configure.ac | 2 +- 3 files changed, 8 insertions(+), 13 deletions(-) --- http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=8b40cb62a8c52eae855179359b5422025a0b9320 diff --git a/Makefile b/Makefile index 9f51ace..a545042 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,3 @@ -XAWTV_VERSION = 3.97 # passed to configure prefix = /usr/local @@ -24,11 +23,3 @@ $(arch)/Makefile: configure mkdir -p $(arch) (cd $(arch); ../configure \ --prefix=$(prefix) ) - -tag: - @git tag -a -m "Tag as xawtv-$(XAWTV_VERSION)" xawtv-$(XAWTV_VERSION) - @echo "Tagged as xawtv-$(XAWTV_VERSION)" - -archive: - @git archive --format=tar --prefix=xawtv-$(XAWTV_VERSION)/ xawtv-$(XAWTV_VERSION) > xawtv-$(XAWTV_VERSION).tar - @bzip2 -f xawtv-$(XAWTV_VERSION).tar diff --git a/Makefile.in b/Makefile.in index 3355496..affc37e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -157,7 +157,11 @@ include $(srcdir)/x11/Subdir.mk ######################################################### # just for me, some maintaining jobs. Don't use them -tarball: distclean - (cd ..; tar cvzf xawtv-$(VERSION).tar.gz \ - xawtv-$(VERSION)) +tag: + @git tag -a -m "Tag as xawtv-@VERSION@" xawtv-@VERSION@ + @echo "Tagged as xawtv-@VERSION@" + +archive: + @git archive --format=tar --prefix=xawtv-@VERSION@/ xawtv-@VERSION@ > xawtv-@[email protected] + @bzip2 -f xawtv-@[email protected] diff --git a/configure.ac b/configure.ac index 4bbddad..60615b5 100644 --- a/configure.ac +++ b/configure.ac @@ -287,7 +287,7 @@ else echo "*** OpenGL disabled" fi -VERSION="`(cd $srcdir; pwd) | sed -e 's/.*-//'`" +VERSION="`head -1 Changes`" AC_SUBST(VERSION) dnl --------------------------------------------------------------------- _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
