summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make/doc-i18n-root-targets.make2
-rw-r--r--scripts/build/www_post.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/make/doc-i18n-root-targets.make b/make/doc-i18n-root-targets.make
index fd95c1845e..e5ea060283 100644
--- a/make/doc-i18n-root-targets.make
+++ b/make/doc-i18n-root-targets.make
@@ -10,7 +10,7 @@ endif
local-WWW-2: $(DEEP_HTML_FILES) $(BIG_PAGE_HTML_FILES) $(DOCUMENTATION_LOCALE_TARGET)
# FIXME: move the following line to a rule that generate the right file
- $(buildscript-dir)/mass-link --prepend-suffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir) $(HTML_FILES)
+ (echo | grep -L 'UNTRANSLATED NODE: IGNORE ME' $(HTML_FILES)) | xargs $(buildscript-dir)/mass-link --prepend-suffix .$(ISOLANG) hard $(outdir) $(top-build-dir)/Documentation/$(outdir)
$(DOCUMENTATION_LOCALE_TARGET):
$(MAKE) -C $(depth)/Documentation/po out=www messages
diff --git a/scripts/build/www_post.py b/scripts/build/www_post.py
index cf1a7c38c6..a9ab88cd3e 100644
--- a/scripts/build/www_post.py
+++ b/scripts/build/www_post.py
@@ -49,7 +49,8 @@ html_files = []
hardlinked_files = []
for f in files:
if f.endswith ('.html'):
- html_files.append (f)
+ if not 'UNTRANSLATED NODE: IGNORE ME' in open (f).read ():
+ html_files.append (f)
else:
hardlinked_files.append (f)
dirs = [re.sub ('/' + outdir, '', d) for d in dirs]