-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate and use version.py for Sphinx
Sphinx's idea of the version number appears in the man pages and compiled PDF documents, and shows up as metadata in the generated HTML sources. Extract the version information from the master source (patchlevel.h) into a form usable by Sphinx. ticket: 7433 tags: pullup
- Loading branch information
Showing
5 changed files
with
47 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,8 @@ obj/ | |
testdir/ | ||
testlog | ||
|
||
/doc/version.py | ||
|
||
/doc/html/ | ||
|
||
/src/config.log | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#include "patchlevel.h" | ||
|
||
r_major = KRB5_MAJOR_RELEASE | ||
r_minor = KRB5_MINOR_RELEASE | ||
r_patch = KRB5_PATCHLEVEL | ||
|
||
#ifdef KRB5_RELTAIL | ||
r_tail = KRB5_RELTAIL | ||
#else | ||
r_tail = None | ||
#endif | ||
#ifdef KRB5_RELDATE | ||
r_date = KRB5_RELDATE | ||
#else | ||
r_date = None | ||
#endif | ||
#ifdef KRB5_RELTAG | ||
r_tag = KRB5_RELTAG | ||
#else | ||
r_date = None | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters