[sr-dev] git:master: makefile: fixed parallel job support for several targets

Andrei Pelinescu-Onciul andrei at iptel.org
Fri Feb 5 21:21:43 CET 2010


Module: sip-router
Branch: master
Commit: dce03068e081d0163c6bcb12851aac0edcb46b2b
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dce03068e081d0163c6bcb12851aac0edcb46b2b

Author: Andrei Pelinescu-Onciul <andrei at iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Fri Feb  5 21:22:47 2010 +0100

makefile: fixed parallel job support for several targets

Parallel job support (-jN) warning/support fixed for:
modules*-doc, modules*-readme, modules*-man, install-modules*.

---

 Makefile |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 272cff3..e641990 100644
--- a/Makefile
+++ b/Makefile
@@ -607,7 +607,7 @@ $(1): modules.lst
 
 .PHONY: $(1)-doc
 $(1)-doc: modules.lst
-	@for r in $($(1)) "" ; do \
+	+ at for r in $($(1)) "" ; do \
 		if [ -n "$$$$r" ]; then \
 			$(call oecho, "" ;) \
 			$(call oecho, "" ;) \
@@ -618,7 +618,7 @@ $(1)-doc: modules.lst
 .PHONY: $(1)-readme
 
 $(1)-readme: modules.lst
-	- at for r in $($(1)) "" ; do \
+	-+ at for r in $($(1)) "" ; do \
 		if [ -n "$$$$r" ]; then \
 			$(call oecho, "" ;) \
 			$(call oecho, "" ;) \
@@ -633,7 +633,7 @@ $(1)-readme: modules.lst
 
 .PHONY: $(1)-man
 $(1)-man: modules.lst
-	- at for r in $($(1)) "" ; do \
+	-+ at for r in $($(1)) "" ; do \
 		if [ -n "$$$$r" ]; then \
 			$(call oecho, "" ;) \
 			$(call oecho, "" ;) \
@@ -649,7 +649,7 @@ $(1)-man: modules.lst
 .PHONY: install-$(1)
 
 install-$(1): modules.lst $$($(1)_dst)
-	@for r in $($(1)) "" ; do \
+	+ at for r in $($(1)) "" ; do \
 		if [ -n "$$$$r" -a -r "$$$$r/Makefile" ]; then \
 			$(call oecho, "" ;) \
 			$(call oecho, "" ;) \




More information about the sr-dev mailing list