]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Don't delete vex_svnversion.h during 'make clean'. This causes
authorJulian Seward <jseward@acm.org>
Tue, 26 Jul 2005 10:10:25 +0000 (10:10 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 26 Jul 2005 10:10:25 +0000 (10:10 +0000)
breakage if someone builds from the final V tarball, then does 'make
clean', then re-runs make -- because creating this file requires (1)
svnversion to be present on the end-user system, which it probably
isn't, and (2) the metadata which svnversion consults also to be
present here, which it certainly isn't [in the cut-down VEX image in
the distro tarball.]

git-svn-id: svn://svn.valgrind.org/vex/trunk@1300

VEX/Makefile

index cfdff11704cc44e1ca033d4bc98e3dc39778a34f..b44f3a2951b15594bf57450f64e216b104d93f9d 100644 (file)
@@ -94,9 +94,11 @@ libvex.a: $(LIB_OBJS)
 
 clean:
        rm -f $(LIB_OBJS) libvex.a vex test_main.o \
-               priv/main/vex_svnversion.h \
                pub/libvex_guest_offsets.h
 
+distclean: clean
+       rm -f priv/main/vex_svnversion.h
+
 version:
        rm -f priv/main/vex_svnversion.h
        echo -n "\""  > priv/main/vex_svnversion.h