www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12351] New: rdmd --makedep(end|file) uses the source file as the target

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12351

           Summary: rdmd --makedep(end|file) uses the source file as the
                    target
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
        AssignedTo: nobody puremagic.com
        ReportedBy: leandro.lucarella sociomantic.com


--- Comment #0 from Leandro Lucarella <leandro.lucarella sociomantic.com>
2014-03-12 07:23:25 PDT ---
Having the source file as the target for the dependencies on a Makefile
is useless, as there is no rule to rebuild the source file, Make can't
use that information at all. Instead the generate binary should be used as the
target.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 12 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12351


Leandro Lucarella <leandro.lucarella sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |industry, pull


--- Comment #1 from Leandro Lucarella <leandro.lucarella sociomantic.com>
2014-03-12 07:27:05 PDT ---
https://github.com/D-Programming-Language/tools/pull/122

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 12 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12351



--- Comment #2 from github-bugzilla puremagic.com 2014-03-19 12:37:06 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/tools

https://github.com/D-Programming-Language/tools/commit/12e73a2537102c34e0d2c04361390e37f2389381
Fix issue 12351: rdmd --makedep(end|file) uses the source file as the target

Having the source file as the target for the dependencies on a Makefile
is useless, as there is no rule to rebuild the source file, Make can't
use that information at all.

To a have a meaningful target name, now --makedep* options require -of
to be present too.

https://github.com/D-Programming-Language/tools/commit/09aaa0953e79052f70ea71800f3d344feec82ff3
Merge pull request #122 from leandro-lucarella-sociomantic/rdmd-exe-target

Fix  rdmd --makedep(end|file) (issues 12351 and 12354)

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