]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix docs building
authorJohn Mandereau <john.mandereau@gmail.com>
Sun, 11 Nov 2007 09:43:39 +0000 (10:43 +0100)
committerJohn Mandereau <john.mandereau@gmail.com>
Sun, 11 Nov 2007 09:43:39 +0000 (10:43 +0100)
A bogus regular expression in www_post.py prevented input/lsr/pitches
from being copied to documentation output tree.

buildscripts/www_post.py
input/lsr/LSR.ly

index a61c75961bf29a08992c4c565eeb8f3a9a384ef4..8d7899ef0ebf7de524234f0c27d235919101d5e7 100644 (file)
@@ -45,7 +45,7 @@ sys.stderr.write ("Mirrorring...\n")
 dirs, symlinks, files = mirrortree.walk_tree (
     tree_roots = doc_dirs,
     process_dirs = outdir,
-    exclude_dirs = '(' + '|'.join ([l.code for l in langdefs.LANGUAGES]) + r'|po|out|\w*?-root)(/|$)',
+    exclude_dirs = '(^|/)(' + '|'.join ([l.code for l in langdefs.LANGUAGES]) + r'|po|out|\w*?-root)(/|$)',
     find_files = r'.*?\.(?:midi|html|pdf|png|txt|ly|signature)$|VERSION',
     exclude_files = r'lily-[0-9a-f]+.*\.pdf')
 
@@ -60,7 +60,7 @@ for f in files:
 dirs = [re.sub ('/' + outdir, '', d) for d in dirs]
 while outdir in dirs:
     dirs.remove (outdir)
-dirs = listset (dirs))
+dirs = list (set (dirs))
 dirs.sort ()
 
 strip_file_name = {}
index 5769f8dd2bc05cd136ac365e6b653d71b432a03a..80a38925b8c8020c7baf2bff58e0c119352a210c 100644 (file)
@@ -1,4 +1,4 @@
-\version "2.10.0"
+\version "2.11.34"
 \header{
 texidoc = "@unnumbered LilyPond Examples
 
@@ -7,7 +7,7 @@ These pages show LilyPond examples (snippets) from the
 
 @subheading 1 Musical notation
 
-@strong{@uref{pitches/collated-files.html,Pitches}} not working :(
+@strong{@uref{pitches/collated-files.html,Pitches}}
 
 @strong{@uref{rhythms/collated-files.html,Rhythms}}
 (@uref{rhythms/collated-files.pdf,pdf link})