[Bug 103] New: -Dd does not generate subdirectories

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Fri Apr 14 09:01:57 PDT 2006


Derek Parnell wrote:
> On Fri, 14 Apr 2006 00:48:48 +1000, Bruno Medeiros 
> <brunodomedeirosATgmail at SPAM.com> wrote:
> 
>> d-bugmail at puremagic.com wrote:
>>> http://d.puremagic.com/bugzilla/show_bug.cgi?id=103
>>>             Summary: -Dd does not generate subdirectories
>>>            Product: D
>>>            Version: 0.150
>>>           Platform: PC
>>>         OS/Version: Windows
>>>             Status: NEW
>>>           Severity: normal
>>>           Priority: P2
>>>          Component: DMD
>>>         AssignedTo: bugzilla at digitalmars.com
>>>         ReportedBy: benoit at tionex.de
>>>   => Error: Error writing file '....../..html'
>>> I think this is a bug, because without creating subdirectories this 
>>> option is
>>> useless.
>>>
>>
>> The same can be said of other options, such as -od . I don't think 
>> this is a bug, it's more of a (mis)feature. Yes, I think it should 
>> create the dirs, but it can be fully worked around with some shell 
>> scripting.
>>
> 
> I'll put that into Build ... if it sees -D<path> it will ensure the path 
> exists before calling the compiler.
> 
> --Derek Parnell
> Melbourne, Australia

While you're at it, you might as well do the same for the other options 
too, like -od, right ? ;)

-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-bugs mailing list