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: buildsys: Various fixes
Author:  Hans de Goede <hdego...@redhat.com>
Date:    Tue Apr 2 14:33:26 2013 +0200

-Fix generating of VERSION and tarbal when build_dir != src_dir
-Don't include our developer oriented Makefile in the tarbal
-Ship with a pre-generated configure script as almost all autoconf using
 projects do

Signed-off-by: Hans de Goede <hdego...@redhat.com>

 .gitattributes |    2 ++
 Makefile.in    |    5 ++++-
 configure.ac   |    2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/xawtv3.git?a=commitdiff;h=4814ef32f01bad47931d63586118d1ab12906d32

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..692c071
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
+Makefile export-ignore
+Makefile.clean export-ignore
diff --git a/Makefile.in b/Makefile.in
index 3fbb556..d0aeda3 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -166,6 +166,9 @@ tag:
        @echo "Tagged as xawtv-@VERSION@"
 
 archive:
-       @git archive --format=tar --prefix=xawtv-@VERSION@/ xawtv-@VERSION@ > 
xawtv-@VERSION@.tar
+       @(cd $(srcdir) && git archive --format=tar --prefix=xawtv-@VERSION@/ 
xawtv-@VERSION@) > xawtv-@VERSION@.tar
+       # Ensure these are newer then configure.in
+       @touch $(srcdir)/configure $(srcdir)/config.h.in
+       @tar --transform='s#config#xawtv-@VERSION@/config#' -rf 
xawtv-@VERSION@.tar $(srcdir)/configure $(srcdir)/config.h.in
        @bzip2 -f xawtv-@VERSION@.tar
 
diff --git a/configure.ac b/configure.ac
index 123c6e7..666f34d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -310,7 +310,7 @@ else
     echo "*** OpenGL disabled"
 fi
 
-VERSION="`head -1 Changes`"
+VERSION="`head -1 $srcdir/Changes`"
 AC_SUBST(VERSION)
 
 dnl ---------------------------------------------------------------------

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to