summaryrefslogtreecommitdiff
path: root/TestScripts/change-version.sh
blob: 7a0eda185975b46f15528906e9aacda3400a9920 (plain)
1
2
3
4
5
6
7
8
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'

sed -i 's|Library 7.1 API|Library 7.0 API|g' cryptlib.h
sed -i 's|= 7.1|= 7.0|g' Doxyfile
sed -i 's|CRYPTOPP_VERSION 710|CRYPTOPP_VERSION 700|g' config.h