summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2010-04-10 16:03:21 +0200
committerJan Nieuwenhuizen <janneke@gnu.org>2010-04-10 16:03:21 +0200
commit2999dfbd293da83cefbb1b75f119c33de39f47de (patch)
treea2acaee419f568244a3f9b044ca8606cbfbad071
parent858e506c2ae6bd444db27f003544416a081788d3 (diff)
Oops, do not prepend `.' suffix for lang=`'. Fixes foo..html output.
-rw-r--r--make/website.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/website.make b/make/website.make
index 8aaba37060..0c650d3708 100644
--- a/make/website.make
+++ b/make/website.make
@@ -86,6 +86,7 @@ website-texinfo: website-version website-xrefs
for l in '' $(WEB_LANGS); do \
if test -n "$$l"; then \
langopt=--lang="$$l"; \
+ langsuf=.$$l; \
fi; \
$(TEXI2HTML) --prefix=index \
--split=section \
@@ -97,7 +98,7 @@ website-texinfo: website-version website-xrefs
-D web_version \
--output=$(OUT)/"$$l" \
$(top-src-dir)/Documentation/"$$l"/web.texi ; \
- find $(OUT)/$$l/ -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGNORE ME' | sed 's!$(OUT)/'$$l'/!!g' | xargs $(MASS_LINK) --prepend-suffix .$$l hard $(OUT)/$$l/ $(OUT)/website/ ; \
+ find $(OUT)/$$l/ -name '*.html' | xargs grep -L 'UNTRANSLATED NODE: IGNORE ME' | sed 's!$(OUT)/'$$l'/!!g' | xargs $(MASS_LINK) --prepend-suffix="$langsuf" hard $(OUT)/$$l/ $(OUT)/website/ ; \
done