From 3c7e702ba8f8792db20f71eb00364b334b535dbf Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer Date: Mon, 24 Mar 2008 20:10:45 +0100 Subject: [PATCH] texi2html: Do the language option assignments globally Signed-off-by: Reinhold Kainhofer --- make/doclang-rules.make | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/make/doclang-rules.make b/make/doclang-rules.make index 1964e38334..979533ea1e 100644 --- a/make/doclang-rules.make +++ b/make/doclang-rules.make @@ -1,14 +1,12 @@ +ifneq "$(ISOLANG)" "" +TEXI2HTML_LANG=--lang=$(ISOLANG) +endif + $(outdir)/%/index.html: $(outdir)/%.texi mkdir -p $(dir $@) - ifneq "$(ISOLANG)" "" - TEXI2HTML_LANG=--lang=$(ISOLANG) - endif -$(TEXI2HTML) --I=$(outdir) --output=$(outdir)/$* --split=section $(TEXI2HTML_LANG) $< $(outdir)/%-big-page.html: $(outdir)/%.texi - ifneq "$(ISOLANG)" "" - TEXI2HTML_LANG=--lang=$(ISOLANG) - endif -$(TEXI2HTML) --I=$(outdir) --output=$@ $(TEXI2HTML_LANG) $< $(outdir)/%.pdftexi: $(outdir)/%.texi doc-po -- 2.39.5