Re: Ensuring existance of directories before writing files into them

2017-07-03 Thread SF Markus Elfring
> Here's one way to solve the problem: > http://www.chaos.org.uk/~eddy/craft/make.html#AutoDir Thanks for your link for information around the topic “Autogenerating (needed) directories”. Will it become better recognised as another design/construction pattern? Regards, Markus _

Re: [bug #51311] Checking search retries for implicit make rules

2017-07-03 Thread SF Markus Elfring
> At the risk of stating the obvious, note that there is a trivial > work-around for this - there is nothing special about dot in patterns, > so you could merge the dot into what % matches to make it non-empty: It might be acceptable to give up a character from either end of the prefix (or suffix)

Re: [bug #51311] Checking search retries for implicit make rules

2017-07-03 Thread Edward Welbourne
Mike Gran (25 June 2017 22:54) > The '%' (the stem) in a pattern rule doesn't, if I recall correctly, > match a null string. It needs to match at least a single character, > so building MOTD.log won't work. At the risk of stating the obvious, note that there is a trivial work-around for this - th

Ensuring existance of directories before writing files into them

2017-07-03 Thread SF Markus Elfring
Hello, Files are stored within directories. So there is a general dependency that the directory should exist (together with an identifier) before a file can be changed. Prerequisites for make rules can be specified in the way that their file names reference a specific build directory. I have got