X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbuild%2Fwww_post.py;h=21ce380ce342a5447790a0adadfc7c74117223a9;hb=859d050f0220c0b45c52a37b9825482eec0fea8c;hp=29f80cf09fa2bb208995e7c5094974782c6ee566;hpb=9083813a13d2b184800e1d39fce4cf01c3431cf6;p=lilypond.git 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'))] = \ - '\nRedirecting to the documentation index...\n' + static_files[os.path.join ( + 'Documentation', + 'user', + outdir, + l.file_name ('index', '.html'))] = \ + '\nRedirecting to the documentation index...\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)')