aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-15 17:02:39 +0000
committerlloyd <[email protected]>2011-04-15 17:02:39 +0000
commite62da81415097726b2f8689dadbc645de278eeb6 (patch)
treeedd89bd2f1157733211516dcc78db4cd8aac390b /configure.py
parent36bb7410ebbbb77667ad56552898b87d16fdf77f (diff)
Docs list is hardcoded into configure.py, and was out of date WRT
recent changes. Just copy all .txt files from doc and call it good...
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/configure.py b/configure.py
index 508eb9971..d486e0c71 100755
--- a/configure.py
+++ b/configure.py
@@ -91,16 +91,9 @@ class BuildConfigurationInformation(object):
if file.endswith('.cpp')])
def doc_files(self):
- docs = ['readme.txt']
-
- for docfile in ['api.pdf', 'tutorial.pdf', 'fips140.pdf',
- 'api.tex', 'tutorial.tex', 'fips140.tex',
- 'credits.txt', 'license.txt', 'log.txt',
- 'thanks.txt', 'todo.txt', 'pgpkeys.asc']:
- filename = os.path.join('doc', docfile)
- if os.access(filename, os.R_OK):
- docs.append(filename)
- return docs
+ return [os.path.join('doc', s)
+ for s in os.listdir('doc') if s.endswith('.txt')] + \
+ ['readme.txt']
def pkg_config_file(self):
return 'botan-%d.%d.pc' % (self.version_major,