tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Built-time generated files vs. dependency



> There're files which are generated on-the-fly during build [of sh].
> Most typically bin/sh/Makefile generates many those files.

> I think of those generated files as annoying.  Writing dependency
> rules dealing with them is difficult, and in most cases just broken.

> [example: "don't know how to make" a generated file]

> This means that the dependency written there is incomplete.

Right.  It should be fixed.

> If no one strongly objects, I'd want to commit those generated files.
> Thus we can build complete dependency trees.

This won't help with that; it will just paper over the real problem
(which is that the dependency information encoded in the Makefile is,
as you say, incomplete).  I'd much prefer to fix the Makefile.

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mouse%rodents-montreal.org@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index