www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20727] New: `make -f posix.mak clean` requires a D compiler


          Issue ID: 20727
           Summary: `make -f posix.mak clean` requires a D compiler
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: pro.mathias.lang gmail.com

Currently, running `make -f posix.mak clean` errors out if one doesn't have
`dmd` in the path, because the check in in `src/posix.mak` is done regardless
of the target.

However, the clean target doesn't depend on DMD.

This also broke `setup.sh` from the tools repository, which was one of the pain
point of Andrei: https://forum.dlang.org/post/r5e8uj$i1b$1 digitalmars.com

Apr 09 2020