From: Han-Wen Nienhuys Date: Sun, 26 Nov 2006 17:33:09 +0000 (+0100) Subject: set -djob-count= if CPU_COUNT is set X-Git-Tag: release/2.11.0-1~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=556ad2122d22cf4c9e5cf8a18b4b591186d300c3;p=lilypond.git set -djob-count= if CPU_COUNT is set --- diff --git a/make/lilypond-vars.make b/make/lilypond-vars.make index 3c55dbeedc..201c9984e9 100644 --- a/make/lilypond-vars.make +++ b/make/lilypond-vars.make @@ -24,7 +24,8 @@ CONVERT_LY = $(script-dir)/convert-ly.py LILYPOND_BOOK = $(script-dir)/lilypond-book.py LILYPOND_BOOK_INCLUDES = -I $(src-dir)/ -I $(outdir) -I $(input-dir) -I $(input-dir)/regression/ -I $(input-dir)/manual/ -I $(input-dir)/tutorial/ -I $(top-build-dir)/mf/$(outconfbase)/ -I $(top-build-dir)/mf/out/ -LILYPOND_BOOK_LILYPOND_FLAGS=--backend=eps --formats=ps,png,pdf -dinclude-eps-fonts -dgs-load-fonts --header=texidoc -I $(top-src-dir)/input/manual -dcheck-internal-types -ddump-signatures -danti-alias-factor=2 +LILYPOND_JOBS=$(if $(CPU_COUNT),-djob-count=$(CPU_COUNT),) +LILYPOND_BOOK_LILYPOND_FLAGS=--backend=eps --formats=ps,png,pdf $(LILYPOND_JOBS) -dinclude-eps-fonts -dgs-load-fonts --header=texidoc -I $(top-src-dir)/input/manual -dcheck-internal-types -ddump-signatures -danti-alias-factor=2 LILYPOND_BOOK_FLAGS = --process="$(LILYPOND_BINARY) $(LILYPOND_BOOK_LILYPOND_FLAGS)" TEXINPUTS=$(top-src-dir)/tex/::