summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-08-03 02:00:09 -0400
committerJeffrey Walton <noloader@gmail.com>2017-08-03 02:00:09 -0400
commita8084ae44083e7ce852cac5462e933fbbc76ee9c (patch)
treeae4e4c89bcf33a7f7fe2d1db4dd0b5430de55a04 /TestScripts
parentab989a6ddfd73d90f2b847102a50a9cda706a6f6 (diff)
downloadcryptopp-git-a8084ae44083e7ce852cac5462e933fbbc76ee9c.tar.gz
Add script to change library version numbers
Diffstat (limited to 'TestScripts')
-rw-r--r--TestScripts/change-version.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/TestScripts/change-version.sh b/TestScripts/change-version.sh
new file mode 100644
index 00000000..d59ec927
--- /dev/null
+++ b/TestScripts/change-version.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+# Use this script to switch back to the previous Crypto++ version before
+# building the docs. Before running the script, copy it to the root
+# directory. After running this script, you can 'make docs'
+
+gsed -i 's|Library 6.0 API|Library 5.6.5 API|g' cryptlib.h
+gsed -i 's|= 6.0.0|= 5.6.5|g' Doxyfile
+gsed -i 's|CRYPTOPP_VERSION 600|CRYPTOPP_VERSION 565|g' config.h