Here is my answer. Sorry for not putting it into a separate mail.
>> Generating stuff only when "make install" is issued seems counter-intuitive. >> Why are you doing this exactly? I need to generate test scripts after the configure step, and I do not wish to rebuild them each time the code is compiled, so install-exec-hook seemed a good solution. >> But Automake shouldn't clean scripts by default (as it is not unusual that >> they are not generated). Is it cleaning them for you? That would be >> a bug. Yes, there are cleaned. But as there are created by my custom hook, I think automake remove them as there are seen as "created by automake". -- Alexis Praga