From 468657a3f84597db9b2af34040b051f4e28c9abd Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 17 Oct 2009 21:28:39 +0100 Subject: [PATCH] Build: update hard-coded doc filenames for current files. --- python/auxiliar/buildlib.py | 4 ++-- python/auxiliar/manuals_definitions.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python/auxiliar/buildlib.py b/python/auxiliar/buildlib.py index 783c808642..3f29b1cd1b 100644 --- a/python/auxiliar/buildlib.py +++ b/python/auxiliar/buildlib.py @@ -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|essay|extending|general|learning|notation)/') def add_old_name (file_path): for new_path in renames_map: diff --git a/python/auxiliar/manuals_definitions.py b/python/auxiliar/manuals_definitions.py index d0542b073f..1008f6ceee 100644 --- a/python/auxiliar/manuals_definitions.py +++ b/python/auxiliar/manuals_definitions.py @@ -5,8 +5,9 @@ references_dict = { 'notation': 'ruser', 'learning': 'rlearning', - 'application': 'rprogram', + 'usage': 'rprogram', 'essay': 'ressay', + 'extending': 'rextend', 'snippets': 'rlsr', 'music-glossary': 'rglos', 'internals': 'rinternals', -- 2.39.2