]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/www_post.py
Change Snippets compilation
[lilypond.git] / buildscripts / www_post.py
index e27aeb7d2ee02807205ba95507c793026dff18a4..278895aff93b7cc51ea73e9cd980fe932cfa2e0b 100644 (file)
@@ -82,6 +82,10 @@ for t in targets:
         if not os.path.exists (dest):
             os.symlink (p, dest)
 
+    ## ad-hoc renaming to make xrefs between PDFs work
+    os.rename (os.path.join (out_root, 'input/lsr/lilypond-snippets.pdf'),
+               os.path.join (out_root, 'Documentation/user/lilypond-snippets.pdf'))
+
 # need this for content negotiation with documentation index
 if 'online' in targets:
     f = open (os.path.join (target_pattern % 'online', 'Documentation/.htaccess'), 'w')