Module: sip-router
Branch: master
Commit: 413c76aa409389ceca03caab729b490bdf119ff8
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=413c76a…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Fri Feb 5 21:21:20 2010 +0100
makefile: clean-modules fix for cleaning modules*/*/doc
- fixed wrong test for the existence of $(module)/doc/Makefile
---
Makefile.rules | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.rules b/Makefile.rules
index 7b46ef3..a3003be 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -224,7 +224,7 @@ clean-modules:
if [ -d "$$r" ]; then \
$(call oecho,"module $$r" ;) \
$(MAKE) -C "$$r" clean ; \
- [ -d "$$r"/doc/Makefile ] && $(MAKE) -C "$$r"/doc clean ;
\
+ [ -r "$$r"/doc/Makefile ] && $(MAKE) -C "$$r"/doc clean ;
\
fi ; \
done