mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 23:35:46 +00:00
Merge branch 'unstable' of https://git01.codeplex.com/z3 into unstable
This commit is contained in:
commit
c769c683a7
2 changed files with 6 additions and 2 deletions
|
@ -7,3 +7,5 @@ To generate the API documentation for the C, .NET and Python APIs, we must execu
|
|||
|
||||
We must have doxygen installed in our system.
|
||||
|
||||
The documentation will be stored in the subdirectory './html'.
|
||||
The main file is './html/index.html'
|
||||
|
|
|
@ -25,8 +25,10 @@ try:
|
|||
cleanup_API('../src/api/z3_api.h', 'z3_api.h')
|
||||
print "Removed annotations from z3_api.h."
|
||||
DEVNULL = open(os.devnull, 'wb')
|
||||
if subprocess.call(['doxygen', 'z3.dox'], stdout=DEVNULL, stderr=DEVNULL) != 0:
|
||||
print "ERROR: failed to execute doxygen z3.dox"
|
||||
try:
|
||||
subprocess.call(['doxygen', 'z3.dox'], stdout=DEVNULL, stderr=DEVNULL)
|
||||
except:
|
||||
print "ERROR: failed to execute 'doxygen', make sure doxygen (http://www.doxygen.org) is available in your system."
|
||||
exit(1)
|
||||
print "Generated C and .NET API documentation."
|
||||
os.remove('z3_api.h')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue