Ramsay Jones <ramsay@xxxxxxxxxxxxxxxxxxxx> writes: >> It's built around evals. In fact, I suspect you could build a >> function around eval that actually works similar to include, but >> lazy-loads the file only when one of its stubs is referenced. I.e., >> something like: >> >> GIT_VERSION = $(eval include GIT-VERSION-FILE) >> >> would probably work (and for other includes, multiple variables >> could mention the same file; as soon as it gets included, it >> overwrites the stubs). >> > > Heh, in another reply in this thread, I mentioned that I had an alternate > patch I was toying with. Yup, I was wondering if you're going to present that variant, which I was more curious about.