aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-20 02:01:08 +0000
committerDavid Robillard <d@drobilla.net>2011-10-20 02:01:08 +0000
commit0032717ddf9a0ef7aa0e5c9531ace0fca003b382 (patch)
tree54753b250eb2213882915f79e3124e3761f4dca6
parent018877914225343b10edfa1f80628cc54242cb82 (diff)
downloadlv2-0032717ddf9a0ef7aa0e5c9531ace0fca003b382.tar.xz
Don't copy build system etc. files to documentation output
-rwxr-xr-xgendoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gendoc.py b/gendoc.py
index 8c90286..09919ab 100755
--- a/gendoc.py
+++ b/gendoc.py
@@ -105,7 +105,7 @@ for dir in ['ext', 'extensions']:
outdir = os.path.join(out_base, dir)
- shutil.copytree(dir, outdir, ignore = lambda src, names: '.svn')
+ shutil.copytree(dir, outdir, ignore=shutil.ignore_patterns('.*', 'waf', 'wscript', '*.in'))
index_html = """<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">