Browse code

makefile: fixed parallel job support for several targets

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

Andrei Pelinescu-Onciul authored on 05/02/2010 20:22:47
Showing 1 changed files
... ...
@@ -607,7 +607,7 @@ $(1): modules.lst
607 607
 
608 608
 .PHONY: $(1)-doc
609 609
 $(1)-doc: modules.lst
610
-	@for r in $($(1)) "" ; do \
610
+	+@for r in $($(1)) "" ; do \
611 611
 		if [ -n "$$$$r" ]; then \
612 612
 			$(call oecho, "" ;) \
613 613
 			$(call oecho, "" ;) \
... ...
@@ -618,7 +618,7 @@ $(1)-doc: modules.lst
618 618
 .PHONY: $(1)-readme
619 619
 
620 620
 $(1)-readme: modules.lst
621
-	-@for r in $($(1)) "" ; do \
621
+	-+@for r in $($(1)) "" ; do \
622 622
 		if [ -n "$$$$r" ]; then \
623 623
 			$(call oecho, "" ;) \
624 624
 			$(call oecho, "" ;) \
... ...
@@ -633,7 +633,7 @@ $(1)-readme: modules.lst
633 633
 
634 634
 .PHONY: $(1)-man
635 635
 $(1)-man: modules.lst
636
-	-@for r in $($(1)) "" ; do \
636
+	-+@for r in $($(1)) "" ; do \
637 637
 		if [ -n "$$$$r" ]; then \
638 638
 			$(call oecho, "" ;) \
639 639
 			$(call oecho, "" ;) \
... ...
@@ -649,7 +649,7 @@ $(1)-man: modules.lst
649 649
 .PHONY: install-$(1)
650 650
 
651 651
 install-$(1): modules.lst $$($(1)_dst)
652
-	@for r in $($(1)) "" ; do \
652
+	+@for r in $($(1)) "" ; do \
653 653
 		if [ -n "$$$$r" -a -r "$$$$r/Makefile" ]; then \
654 654
 			$(call oecho, "" ;) \
655 655
 			$(call oecho, "" ;) \