bug#8362: make install prefix inserted in source code with generated python files

2011-03-28 Thread A.T.Hofkamp
Ralf Wildenhues wrote: Looks like it. Can you work around this issue by adding all-local: $(prog_PYTHON) to the Makefile.am? Confirmed that this addition fixes the problem for me, both with the 'p' example and the real case. Thanks for the quick fix. Albert

bug#8362: make install prefix inserted in source code with generated python files

2011-03-28 Thread A.T.Hofkamp
Hello, As far as I know, "make install prefix=/path/to/writable/dir" should only change the place where files are copied to, instead of injecting that new prefix into the source code. However, for Python source files that are generated/modified during installation, this does not seem to hold: