On Tue, May 29, 2012 at 7:11 PM, Peter Johansson <troj...@gmail.com> wrote:
> To have files with same name in both builddir and srcdir is to ask for > problems, IMHO. What happens if srcdir and builddir are the same? > > If you wanna generate $(builddir)/git_version.sed, don't distribute it as > well. Or distribute it (in $(srcdir)) and don't generate it in $(builddir). > Or distribute it but let the generated have a slightly different name. Btw, > is the distributed script ever used if you intend to generate one anyway? I think I need to take a step back and figure out what exactly I'm trying to accomplish here, the current approach started as a quick and dirty hack so I think a redesign is needed. Thanks for all the help on this. Cheers Adam