[PATCH 3/4] Makefile: remove redundant flags to $(RM)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$(RM) will always expand to 'rm -f' which means we don't need to ignore
errors or pass this flag again.
---
 Makefile.am | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 31d5cbb..8e8bcc0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -201,8 +201,8 @@ testsuite_test_dependencies_LDADD = $(TESTSUITE_LDADD)
 testsuite_test_dependencies_CPPFLAGS = $(TESTSUITE_CPPFLAGS)
 
 testsuite-distclean:
-	-$(RM) -rf $(ROOTFS)
-	-$(RM) testsuite/stamp-rootfs
+	$(RM) -r $(ROOTFS)
+	$(RM) testsuite/stamp-rootfs
 
 DISTCLEAN_LOCAL_HOOKS += testsuite-distclean
 EXTRA_DIST += testsuite/rootfs-pristine
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux