X-Git-Url: http://git.ieval.ro/?p=xfishtank.git;a=blobdiff_plain;f=prevent-remakes;fp=prevent-remakes;h=7c871916ff1db021b44d5ba5f005eb822f51143b;hp=0000000000000000000000000000000000000000;hb=da1c4a843de05b6ee70dc60fa1fcb4b5ec2d606e;hpb=46b872af07138bfc36763f380b876098af4a6b5d diff --git a/prevent-remakes b/prevent-remakes new file mode 100755 index 0000000..7c87191 --- /dev/null +++ b/prevent-remakes @@ -0,0 +1,17 @@ +#!/bin/sh +# fix-timestamp.sh: prevents useless rebuilds after "cvs update" +sleep 1 +# aclocal-generated aclocal.m4 depends on locally-installed +# '.m4' macro files, as well as on 'configure.ac' +touch aclocal.m4 +sleep 1 +# autoconf-generated configure depends on aclocal.m4 and on +# configure.ac +touch configure +# so does autoheader-generated config.h.in +touch config.h.in +# and all the automake-generated Makefile.in files +touch `find . -name Makefile.in -print` +# finally, the makeinfo-generated '.info' files depend on the +# corresponding '.texi' files +#touch doc/*.info