]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/www_post.py
Check for `UNTRANSLATED NODE: IGNORE ME' in two more places.
[lilypond.git] / scripts / build / www_post.py
index cf1a7c38c61b4657e3f51a4e530b0e7b2e334259..a9ab88cd3ecbc9f2af49a86ec971313fa51f7d4e 100644 (file)
@@ -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]