2018-05-19 20:22:51 +02:00
|
|
|
#!/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'
|
|
|
|
|
2019-01-12 20:29:33 +01:00
|
|
|
sed 's|Library 8.1 API|Library 8.0 API|g' cryptlib.h > cryptlib.h.new
|
|
|
|
mv cryptlib.h.new cryptlib.h
|
|
|
|
|
|
|
|
sed 's|= 8.1|= 8.0|g' Doxyfile > Doxyfile.new
|
|
|
|
mv Doxyfile.new Doxyfile
|
|
|
|
|
|
|
|
sed 's|CRYPTOPP_VERSION 810|CRYPTOPP_VERSION 800|g' config.h > config.h.new
|
|
|
|
mv config.h.new config.h
|