Reviewers: ,

Description:
https://sourceforge.net/p/testlilyissues/issues/5583/

I ran into a problem running "make ... doc" today, where www_post was
trying unsuccessfully to mirror a symlink in an out-test-baseline
subdirectory.

I looked around for information that would justify mirroring the
baseline and found none, so I've solved the problem by excluding it.  If
you know better, please speak up.

Please review this at https://codereview.appspot.com/565170043/

Affected files (+2, -2 lines):
  M scripts/build/www_post.py


Index: scripts/build/www_post.py
diff --git a/scripts/build/www_post.py b/scripts/build/www_post.py
index 3af2b64d8ed91a6aa9f37b28bc681b4736280ef6..24afd8ef99827aca516c68e92abb9ae61bf21e1c 100644
--- a/scripts/build/www_post.py
+++ b/scripts/build/www_post.py
@@ -46,7 +46,7 @@ dirs, symlinks, files = mirrortree.walk_tree (
     tree_roots = doc_dirs,
     process_dirs = outdir,
     exclude_dirs = '(^|/)((' + \
- r'po|xref-maps|out|out-test|out-cov|.*?[.]t2d|\w*?-root)| ^Documentation/(' + \ + r'po|xref-maps|out|out-test(-baseline)?|out-cov|.*?[.]t2d| \w*?-root)|^Documentation/(' + \
         '|'.join ([l.code for l in langdefs.LANGUAGES]) + '))(/|$)',
find_files = r'.*?\.(?:midi|html|pdf|png|jpe?g|txt|i?ly|signature|css| zip|js|..\.idx|php)$|VERSION',
     exclude_files = r'lily-[0-9a-f]+.*\.(pdf|txt)')
@@ -54,7 +54,7 @@ dirs, symlinks, files = mirrortree.walk_tree (
 extra_files = mirrortree.walk_tree (
     tree_roots = ['input/regression/lilypond-book'],
     process_dirs = outdir,
-    exclude_dirs = r'(^|/)(out|out-test)(/|$)',
+    exclude_dirs = r'(^|/)(out|out-test(-baseline)?)(/|$)',
     find_files = r'.+\.(info|tex)$',
     exclude_files = r'lily-[0-9a-f]+.*\.tex')[2]
 files.extend(extra_files)



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to