From 9f7afb230fbe23f5cb58829c2f83ac8554abd6ad Mon Sep 17 00:00:00 2001 From: Kalle Valo Date: Fri, 4 Jun 2010 13:54:12 +0300 Subject: [PATCH] Fix make clean Running make clean twice in a row fails with error: make: *** No rule to make target `include/connman', needed by `clean-local'. Stop. Fix it by moving the target as an argument for rm. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0e98e8b..41fffae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -227,5 +227,5 @@ include/connman/%.h: include/%.h $(AM_V_at)$(MKDIR_P) include/connman $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@ -clean-local: include/connman - @$(RM) -r $< +clean-local: + @$(RM) -rf include/connman -- 2.7.4