]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Create empty.h (used to force rebuilds of version.o by the automake
authorSimon Tatham <anakin@pobox.com>
Wed, 14 Sep 2011 15:54:26 +0000 (15:54 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 14 Sep 2011 15:54:26 +0000 (15:54 +0000)
commita4424bfd85a44a7aed5e6d5f85daaeb86c0f24e5
tree3ced8537aae438a044f447468393211c8fd23467
parentaac16a33e893dd902252adb97405e471bb4f4427
Create empty.h (used to force rebuilds of version.o by the automake
makefile) as a side effect of running mkfiles.pl.

The automake docs observe that the BUILT_SOURCES list is only
automatically built by plain 'make' or 'make all' or a couple of other
targets, so the sequence './configure && make plink' from a freshly
unpacked tar file would previously fail for lack of empty.h.

If empty.h had important _content_ that needed to be built at compile
time, of course, I wouldn't be able to fix it like this; but since the
only important thing is the timestamp, I can just make sure it already
exists at the time of first build.

[originally from svn r9288]
Recipe
mkfiles.pl