Filter out .tpl and .in and documentation file names
Those suffixes are commonly used for files that are processed during build to produce some final version. Fixes #169.
This commit is contained in:
parent
e9a84e8261
commit
498f0d5978
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ def get_doc_files(path):
|
|||
README[.-].*|CHANGELOG|CHANGELOG[.-].*|TODO|TODO[.-].*
|
||||
""",
|
||||
re.IGNORECASE | re.VERBOSE)
|
||||
minus = re.compile(r"CMakeLists\.txt")
|
||||
minus = re.compile(r"CMakeLists\.txt|.*\.tpl|.*\.in")
|
||||
|
||||
for root, dirs, files in os.walk(path, topdown=True):
|
||||
dirs[:] = []
|
||||
|
|
Loading…
Reference in a new issue