Re: Automatic dependency tracking when using non-depcomp tools

2022-11-24 Thread Karl Berry
Can I actually rely on Automake making a verbatim copy of the include line from Makefile.am to Makefile.im? As far as I can make out, your logic is exactly correct. Looking at the bin/automake script, I see: my $PATH_PATTERN = '(\w|[+/.-])+'; # This will pass through anything not of the p

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-24 Thread Hans Ulrich Niedermann
On 2022-11-22 18:32 -0700, Karl Berry wrote: > Hi Hans - first, congratulations on getting this to work at all. Thank you for your kind and thorough reply. > I don't recall anyone else undertaking this. And that might be why I could not find anybody else doing auto dependency tracking in Makef

Re: Automatic dependency tracking when using non-depcomp tools

2022-11-22 Thread Karl Berry
Hi Hans - first, congratulations on getting this to work at all. I don't recall anyone else undertaking this. I'm afraid I don't have any particular insights, but just so you know someone read your mail: Question: Is it OK for me to hook into ./$(DEPDIR)/ at all? I could use

Automatic dependency tracking when using non-depcomp tools

2022-11-19 Thread Hans Ulrich Niedermann
I have not found any documentation about hooking recipes with custom (non-depcomp) tools into Automake's automatic dependency tracking, so this describes what I have done to achieve that along with a few questions. If you want the complete code example, see the git branch at https://github.com/ndi