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

Sean Kelly sean at f4.ca
Thu Apr 13 10:34:38 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.

This would be great.  As it stands now I have to do a "recursive copy, 
build tree but don't actually copy anything" before generating 
documentation remotely.


Sean



More information about the Digitalmars-d-bugs mailing list