[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: WMK dependencies

On Tue, 18 Apr 2000, Matthias Bernhardt wrote:

> For my own part I prefer Makefiles anyway. But I'm currently
> missing a feature that allows to extract dependencies in a
> fashion like makedepend does. Makedepend itself is confused by
> the notation of the wml::std::xxx files and the #use statement,
> apart from that it is incapable of extracting the include
> directories out of the .wmlrc files.

And cannot handle the #depends directive

> Since WMK already does all this interpretation, would it make
> sense to include a switch that lets wmk output the dependencies
> found rather than actually remaking the file?
> Would it make sense then to add parameters that allow to choose
> whether or not to care for "system files", as well in depend
> mode as in normal operation?
> Would it otherwise make sense to write an auxiliary program,
> called e.g. "wmakedepend" with the full functionality of
> makedepend combined with the understanding of wml?

Everything useful makes sense ;-)
I guess you missed the -M flag of wm{k,l} which implements all the
features you asked for.

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com