summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Bachelot <xavier@bachelot.org>2008-04-08 21:36:31 +0000
committerXavier Bachelot <xavier@bachelot.org>2008-04-08 21:36:31 +0000
commit875a15a988e73646e0a14f6a8660fb1f0dea062d (patch)
treef4bda2c06fd046a14618b8f5d980b4d2ef741f82
parentef53b911bc09e1466ba1a0631053b56e7030c9e9 (diff)
hopefully fix svnversion.h once and for all...
-rw-r--r--src/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7e5d58191465..73dc9ce466da 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -24,6 +24,7 @@
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
+BUILT_SOURCES = svnversion.h
EXTRA_DIST = svnversion.h
CONFIG_CLEAN_FILES= svnversion.h
AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@
@@ -100,5 +101,6 @@ svnversion.h: $(openchrome_drv_la_SOURCES)
@echo "created $@"
dist-hook:
+ rm svnversion.h;
echo '#define BUILDCOMMENT "(openchrome '$(VERSION)' release)"' \
> svnversion.h