aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-06-16 16:42:44 -0400
committerJack Lloyd <[email protected]>2019-06-16 16:42:44 -0400
commit0c459abee0788b430145b6acc80fc34ff2dc4841 (patch)
tree6cc7a95fe381f58a87c9f136263cb0b8c7671e4c /src/scripts
parent17a4773ff2a37068737980d36b27edf0d3e3a113 (diff)
Rename os features script
Diffstat (limited to 'src/scripts')
-rwxr-xr-xsrc/scripts/gen_os_features.py (renamed from src/scripts/update_docs.py)9
1 files changed, 2 insertions, 7 deletions
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)