]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/auxiliar/buildlib.py
lilypond-manuals.css: edit color scheme and some spacing
[lilypond.git] / python / auxiliar / buildlib.py
index 783c808642831c5d564be6613b76492ab260cb1c..a2a553aa04f8d4edcf94f1d5d10038d28548f15d 100644 (file)
@@ -22,7 +22,7 @@ def read_pipe (command):
 ### Renamed files map to ensure continuity of file history
 ## Map of new_name: old_name
 renames_map = {
-    'application.tely': 'user/lilypond-program.tely',
+    'usage.tely': 'user/lilypond-program.tely',
     'notation.tely': 'user/lilypond.tely',
     'learning.tely': 'user/lilypond-learning.tely',
     'changes.tely': 'topdocs/NEWS.tely',
@@ -30,7 +30,7 @@ renames_map = {
 
 # FIXME: Hardcoded file names!?
 manuals_subdirectories_re = \
-    re.compile ('(application|automated-engraving|essay|general|learning|notation)/')
+    re.compile ('(usage|automated-engraving|changes|essay|extending|web|learning|notation)/')
 
 def add_old_name (file_path):
     for new_path in renames_map:
@@ -67,6 +67,8 @@ def check_translated_doc (original, translated_file, translated_contents,
         sys.stderr.write (no_committish_fatal_error % translated_file)
         sys.exit (1)
     revision = m.group (1)
+    if revision == '0':
+        return '', 0
 
     if color:
         color_flag = '--color --color-words'