https://sourceware.org/bugzilla/show_bug.cgi?id=20100

            Bug ID: 20100
           Summary: make distclean should not try to remove
                    libiberty/testsuite dir
           Product: binutils
           Version: 2.27 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: sourceforge.brock at dse dot nl
  Target Milestone: ---

When doing make distclean the Makefile tries to rmdir libiberty/testsuite.
However this directory and its contents are under source control. Someone tried
to suppress the error that this dir cannot be removed by redirecting stderr to
/dev/null and by prepending the rmdir command with a dash (-rmdir). But why so
difficult? And it still generates:

rmdir testsuite 2>/dev/null
Makefile:458: recipe for target 'distclean' failed
make[3]: [distclean] Error 1 (ignored)

Would it not be better to just remove the rmdir line from the Makefile? Putting
its contents under source control seems to indicate you wish to keep it.

Kind regards,
Maarten Brock
SDCC developer

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to