aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/dev_ref/os.rst3
-rwxr-xr-xsrc/scripts/gen_os_features.py (renamed from src/scripts/update_docs.py)9
2 files changed, 4 insertions, 8 deletions
diff --git a/doc/dev_ref/os.rst b/doc/dev_ref/os.rst
index f120f8466..eee3e09b7 100644
--- a/doc/dev_ref/os.rst
+++ b/doc/dev_ref/os.rst
@@ -34,6 +34,7 @@ A summary of OS features as defined in ``src/build-data/os``.
"apple_keychain", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "X", " ", " ", " ", " ", " ", " ", " ", " "
"arc4random", " ", "X", " ", "X", " ", "X", " ", " ", " ", " ", "X", " ", " ", "X", " ", " ", "X", "X", " ", " ", " ", " "
"cap_enter", " ", " ", " ", " ", " ", "X", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " "
+ "certificate_store", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "X"
"clock_gettime", "X", "X", " ", "X", " ", "X", "X", "X", "X", " ", " ", "X", " ", "X", " ", " ", "X", "X", "X", "X", " ", " "
"commoncrypto", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "X", " ", " ", "X", " ", " ", " ", " ", " ", " ", " ", " "
"crypto_ng", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "X", " "
@@ -57,4 +58,4 @@ A summary of OS features as defined in ``src/build-data/os``.
"winsock2", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "X", "X"
.. note::
- This file is auto generated by ``src/scripts/update_docs.py``. Don't modify it manually.
+ This file is auto generated by ``src/scripts/gen_os_features.py``. Dont modify it manually.
diff --git a/src/scripts/update_docs.py b/src/scripts/gen_os_features.py
index 03b9dd67b..bfcfac7d1 100755
--- a/src/scripts/update_docs.py
+++ b/src/scripts/gen_os_features.py
@@ -31,7 +31,6 @@ parser.add_argument('--verbose', dest='verbose', action='store_const',
args = parser.parse_args()
def update_os():
- PAGE_TITLE="Botan OS information"
TABLE_TITLE="OS Features"
files = []
@@ -42,7 +41,7 @@ def update_os():
print("No info.txt files found.")
sys.exit(1)
- f1 = open(os.path.join(botan_root, 'doc', 'os.rst'), 'w+')
+ f1 = open(os.path.join(botan_root, 'doc', 'dev_ref', 'os.rst'), 'w+')
all_features = set()
oss = {}
@@ -63,12 +62,8 @@ def update_os():
if args.verbose:
print(featurelist)
- print(PAGE_TITLE, file=f1)
- print("========================================", file=f1)
- print("", file=f1)
-
print(TABLE_TITLE, file=f1)
- print("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^", file=f1)
+ print("========================================", file=f1)
print("", file=f1)
print("A summary of OS features as defined in ``src/build-data/os``.", file=f1)