[Bug other/71122] New: 'make distclean' should not try to remove libiberty/testsuite dir
sourceforge.brock at dse dot nl
gcc-bugzilla@gcc.gnu.org
Sun May 15 12:51:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71122
Bug ID: 71122
Summary: 'make distclean' should not try to remove
libiberty/testsuite dir
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.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
More information about the Gcc-bugs
mailing list