From: Simon Tatham Date: Thu, 28 Apr 2016 19:34:59 +0000 (+0100) Subject: Re-run mkauto.sh from within makedist.sh. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=e917a7d03a3570b09ecdf71a638ccc8496341d60;p=sgt-puzzles.git Re-run mkauto.sh from within makedist.sh. It isn't necessary to cause the right files to _exist_, because makedist.sh is run from Buildscr which has already run mkauto. But it turns out it _is_ important to get the relative timestamps of Makefile.in and Makefile.am the right way round, otherwise somebody who unpacks the tarball and runs 'configure' and 'make' will find make tries to rebuild Makefile.in because it thinks Makefile.am is newer - and if they don't have the right automake installed, or any automake, that will fail. --- diff --git a/makedist.sh b/makedist.sh index 9d9c11c..22b4f5d 100755 --- a/makedist.sh +++ b/makedist.sh @@ -17,6 +17,7 @@ else fi perl mkfiles.pl +./mkauto.sh mkdir tmp.$$ mkdir tmp.$$/puzzles$arcsuffix