shithub: puzzles

Download patch

ref: e917a7d03a3570b09ecdf71a638ccc8496341d60
parent: 6a8a53e7235a8621313b792b498ebb43452f9e38
author: Simon Tatham <anakin@pobox.com>
date: Thu Apr 28 16:34:59 EDT 2016

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.

--- a/makedist.sh
+++ b/makedist.sh
@@ -17,6 +17,7 @@
 fi
 
 perl mkfiles.pl
+./mkauto.sh
 
 mkdir tmp.$$
 mkdir tmp.$$/puzzles$arcsuffix