]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix handling of the vex svn-version thing following r10400 (tracks vex
authorJulian Seward <jseward@acm.org>
Thu, 2 Jul 2009 12:36:53 +0000 (12:36 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 2 Jul 2009 12:36:53 +0000 (12:36 +0000)
r1905).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10401

Makefile.vex.am

index 6f4ffd0e406aea4001cbee4211640fcf2f8ca80e..7da89472225a19d2670f245ac46e30bbb3d9d843 100644 (file)
@@ -81,22 +81,24 @@ pub/libvex_guest_offsets.h:
 # it will be regenerated incorrectly, containing the string "exported"
 # instead of the SVN revision number.
 
-BUILT_SOURCES += priv/main/vex_svnversion.h
+BUILT_SOURCES += priv/main_vex_svnversion.h
 
 # Generate it at build time if not present.  Nb: generating a file and
 # putting it in $(srcdir) rather than $(builddir) seems like bad form.  But
 # because this file won't be regenerated post-distribution, then it's more
 # like a non-generated file and so is reasonable to put in $(srcdir).
-priv/main/vex_svnversion.h: version
-       if [ ! -f priv/main/vex_svnversion.h ] ; then \
-           mv $(top_srcdir)/vex_svnversion.h $(srcdir)/priv/main/; \
+priv/main_vex_svnversion.h: version
+       if [ ! -f priv/main_vex_svnversion.h ] ; then \
+           mv $(top_srcdir)/vex_svnversion.h \
+              $(srcdir)/priv/main_vex_svnversion.h; \
        else \
            rm -f $(top_srcdir)/vex_svnversion.h; \
        fi
 
 # Regenerate it and copy it into the dist tarball at 'make dist' time.
 dist-hook: version
-       mv $(top_srcdir)/vex_svnversion.h $(distdir)/priv/main/
+       mv $(top_srcdir)/vex_svnversion.h \
+          $(distdir)/priv/main_vex_svnversion.h
 
 # Generate it.
 version: