add dependencies file in documentation directory

This commit is contained in:
Panagiotis Cheilaris
2013-05-31 11:27:49 +02:00
parent 5d6d2f31a9
commit abb1ec705d
@@ -98,6 +98,15 @@ The following example shows ...
} /* namespace CGAL */
"""
depsstring = \
r"""Manual
Kernel_23
STL_Extension
Algebraic_foundations
Circulator
Stream_support
"""
if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
if creationpath and (not creationpath == '.'):
@@ -166,6 +175,11 @@ if re.match("^[A-Za-z_][A-Za-z0-9_]*$", packagename):
descrfile.write(descrstring)
descrfile.close()
depspath = os.path.join(docpath, ('dependencies'))
depsfile = open(depspath, 'w')
depsfile.write(depsstring)
depsfile.close()
# try to find figure pkg-small.png and copy it to figure path
scriptdir = os.path.dirname(sys.argv[0])
cgaldir = os.path.dirname(os.path.dirname(scriptdir))