From: Julian Seward Date: Tue, 26 Jul 2005 10:10:25 +0000 (+0000) Subject: Don't delete vex_svnversion.h during 'make clean'. This causes X-Git-Tag: svn/VALGRIND_3_0_1^2~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a5e7ccfba896b24badcd397aa9fe1c60ef88e67;p=thirdparty%2Fvalgrind.git Don't delete vex_svnversion.h during 'make clean'. This causes 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 --- diff --git a/VEX/Makefile b/VEX/Makefile index cfdff11704..b44f3a2951 100644 --- a/VEX/Makefile +++ b/VEX/Makefile @@ -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