http://d.puremagic.com/issues/show_bug.cgi?id=6622

           Summary: rdmd --makedepend lists "dmd.conf" and "dmd"
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: soul...@gmail.com


--- Comment #0 from Heywood Floyd <soul...@gmail.com> 2011-09-08 03:23:18 PDT 
---
// --- k.d ---
    //   (empty)
    // ----------


    // --- m.d ---
    import k;
    void main(){}
    // ---------


[Bug]
# rdmd --makedepend m.d
m.d : /Library/Compilers/dmd2/osx/bin/dmd.conf k.d
/Library/Compilers/dmd2/osx/bin/dmd
# rdmd
rdmd build 20110906
...
# _


[Expected results]
# rdmd --makedepend m.d
m.d : k.d 
# _


_____

(Side note: I'm using this to build makefile dependencies on the fly, like this

    SERVER_D_FILES = $(shell rdmd --makedepend src/server.d | cut -d : -f 2)

Can anyone figure out a simple workaround for this, except adding all the files
manually?
Side note 2: It would be nice if DMD could handle this on its own hint hint...)

_____

PS. Very nice release anyway! thanks

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to