|
From: <sv...@va...> - 2005-07-26 22:44:29
|
Author: sewardj Date: 2005-07-26 23:44:27 +0100 (Tue, 26 Jul 2005) New Revision: 1301 Log: Never ever delete vex_svnversion.h except when doing 'make version'. Purpose is so that 'make distclean' or 'make clean' in a tarball'd build do not delete it, and so do not render the tree unbuildable. Modified: trunk/Makefile Modified: trunk/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/Makefile 2005-07-26 10:10:25 UTC (rev 1300) +++ trunk/Makefile 2005-07-26 22:44:27 UTC (rev 1301) @@ -92,13 +92,14 @@ rm -f libvex.a ar clq libvex.a $(LIB_OBJS) =20 +# This doesn't get rid of priv/main/vex_svnversion.h, because +# that can't be regenerated in the final Valgrind tarball, and +# so if 'make clean' did get rid of it, then in the tarball, +# doing 'make ; make clean ; make' (or distclean) would fail. clean: rm -f $(LIB_OBJS) libvex.a vex test_main.o \ pub/libvex_guest_offsets.h =20 -distclean: clean - rm -f priv/main/vex_svnversion.h - version: rm -f priv/main/vex_svnversion.h echo -n "\"" > priv/main/vex_svnversion.h |