From: John Mandereau Date: Wed, 31 Dec 2008 00:44:03 +0000 (+0100) Subject: Docs: fix --no-color check-translation flag make wrapper X-Git-Tag: release/2.12.1-1~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4ae1f3c5367f6d4bb7bf829512e9c95420747875;p=lilypond.git Docs: fix --no-color check-translation flag make wrapper --- diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 2f99e82fd7..0e5fc0a5e2 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -42,6 +42,10 @@ po-update: all-translations-update: po-update translation-status $(foreach lang, $(LANGS), make ISOLANG=$(lang) skeleton-update snippet-update &&) true +ifneq ($(NO_COLOR),) +CHECK_TRANSLATION_FLAGS = --no-color +endif + ifneq ($(ISOLANG),) new-lang: @if (( $$(file -b $(ISOLANG)) == directory )) 2>/dev/null; \ @@ -60,10 +64,6 @@ new-lang: CHECKED_FILES = $(ISOLANG)/index.html.in $(shell find $(ISOLANG)/user/ -maxdepth 1 -name '*.*te??') -ifneq ($(NO_COLOR),) -CHECK_TRANSLATION_FLAGS = --no-color -endif - TELY_FILES = $(call src-wildcard,$(ISOLANG)/user/*.tely) skeleton-update: $(PYTHON) $(buildscript-dir)/texi-langutils.py -d $(outdir) -l $(ISOLANG) --skeleton $(TELY_FILES:$(ISOLANG)/user/%.tely=../user/%.tely)