immanuel litzroth <ilitzr...@gmail.com> writes: > Once again... this is biting us too so we usually add the AM_MAINTAINER > mode ourselves. This scenario is 100% recognizable and a major source of > problems for us.
I also religiously use AM_MAINTAINER_MODE for all of my packages because I always want to be able to turn off this behavior and get a build that doesn't attempt to regenerate the build system without explicit action on my part. Another place where the default behavior frequently breaks is if one is applying a patch to both the generated file and the source file, usually because one explicitly *doesn't* want to re-run Automake (often because there's some incompatibility with the latest version) and one has carefully determined the right change to make to the generated file and is also patching the source for documentation purposes. If patch happens to patch the generated file before the source file, make then tries to re-run Automake and everything explodes. -- Russ Allbery (r...@stanford.edu) <http://www.eyrie.org/~eagle/>