From 4ae1f3c5367f6d4bb7bf829512e9c95420747875 Mon Sep 17 00:00:00 2001 From: John Mandereau Date: Wed, 31 Dec 2008 01:44:03 +0100 Subject: [PATCH] Docs: fix --no-color check-translation flag make wrapper --- Documentation/GNUmakefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.5