]> git.draconx.ca Git - cdecl99.git/commit
Eliminate use of BUILT_SOURCES from Gnulib.
authorNick Bowler <nbowler@draconx.ca>
Mon, 19 Sep 2011 03:01:18 +0000 (23:01 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 21 Sep 2011 23:25:09 +0000 (19:25 -0400)
commita71929ae4a4be5b9924b2cb2b4cd98e9cc61c21f
treee18c390c30a20ad3dcb2e43d7203e0692bed2b95
parent525d25e1c7e98987353bf0a7a92e43a3fe52043d
Eliminate use of BUILT_SOURCES from Gnulib.

As with recursive make, BUILT_SOURCES is harmful because of inadequate
dependency information.  We can achieve a similar effect with by using
order-only dependencies:  These force the headers to be up-to-date
before anything that might require them is built: but rebuilds are only
triggered based on the accurate dependency information generated by the
normal mechanisms.

Unfortunately, order-only dependencies are a GNU make feature, so we use
a hack which should fall back to ordinary dependencies on other make
implementations.  The worst effect of using ordinary dependencies will
be that files might be needlessly rebuilt when a header changes.
Makefile.am
fix-gnulib.pl