summaryrefslogtreecommitdiff
path: root/scripts/build/www_post.py
diff options
context:
space:
mode:
authorJohn Mandereau <john.mandereau@gmail.com>2009-01-09 20:32:27 +0100
committerJohn Mandereau <john.mandereau@gmail.com>2009-01-09 20:32:27 +0100
commit859d050f0220c0b45c52a37b9825482eec0fea8c (patch)
tree5f3dc96f157e73c5f1302b15676271c50cc20c76 /scripts/build/www_post.py
parent9083813a13d2b184800e1d39fce4cf01c3431cf6 (diff)
Add Contributors' Guide stub and clean up makefiles
* add Contributors' Guide stub in new directory Documentation/devel/; * move Documentation/devel.html.in to Documentation/devel/index.html.in to avoid clashing directory and file names on lilypond.org; * cleanup topdocs and Texinfo makefiles; * fix links accordingly; * fix 'make dist'.
Diffstat (limited to 'scripts/build/www_post.py')
-rw-r--r--scripts/build/www_post.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/build/www_post.py b/scripts/build/www_post.py
index 29f80cf09f..21ce380ce3 100644
--- a/scripts/build/www_post.py
+++ b/scripts/build/www_post.py
@@ -35,9 +35,13 @@ static_files = {
}
for l in langdefs.LANGUAGES:
- static_files[os.path.join ('Documentation', 'user', outdir, l.file_name ('index', '.html'))] = \
- '<META HTTP-EQUIV="refresh" content="0;URL=../' + l.file_name ('index', '.html') + \
- '">\n<html><body>Redirecting to the documentation index...</body></html>\n'
+ static_files[os.path.join (
+ 'Documentation',
+ 'user',
+ outdir,
+ l.file_name ('index', '.html'))] = \
+ '<META HTTP-EQUIV="refresh" content="0;URL=../' + l.file_name ('index', '.html') + \
+ '">\n<html><body>Redirecting to the documentation index...</body></html>\n'
for f, contents in static_files.items ():
open (f, 'w').write (contents)
@@ -46,7 +50,9 @@ sys.stderr.write ("Mirrorring...\n")
dirs, symlinks, files = mirrortree.walk_tree (
tree_roots = doc_dirs,
process_dirs = outdir,
- exclude_dirs = '(^|/)(' + r'|po|out|out-test|.*?[.]t2d|\w*?-root)(/|$)|Documentation/(' + '|'.join ([l.code for l in langdefs.LANGUAGES]) + ')',
+ exclude_dirs = '(^|/)((' + \
+ r'po|out|out-test|out-cov|.*?[.]t2d|\w*?-root)|^Documentation/(' + \
+ '|'.join ([l.code for l in langdefs.LANGUAGES]) + '))(/|$)',
find_files = r'.*?\.(?:midi|html|pdf|png|txt|i?ly|signature|css)$|VERSION',
exclude_files = r'lily-[0-9a-f]+.*\.(pdf|txt)')