summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/updatemakes.sh
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-02-17 19:29:51 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-02-17 19:29:51 +0800
commit7e8094d53a1c01ac671156ff2e67157b64d01a3a (patch)
treec88345f5bdd118eb9414dff5ab5c307bb1806c57 /libtomcrypt/updatemakes.sh
parentf7a664f127d3dfde0e7c7a9ca74b1d14f9a2f983 (diff)
parentf042eb41ab0d31f8ba0c5ccc9c848ad01f08f986 (diff)
merge from main
--HG-- branch : fuzz
Diffstat (limited to 'libtomcrypt/updatemakes.sh')
-rwxr-xr-x[-rw-r--r--]libtomcrypt/updatemakes.sh23
1 files changed, 7 insertions, 16 deletions
diff --git a/libtomcrypt/updatemakes.sh b/libtomcrypt/updatemakes.sh
index 9b6cbde..14210c0 100644..100755
--- a/libtomcrypt/updatemakes.sh
+++ b/libtomcrypt/updatemakes.sh
@@ -1,21 +1,12 @@
#!/bin/bash
-bash genlist.sh > tmplist
+./helper.pl --update-makefiles || exit 1
-perl filter.pl makefile tmplist
-mv -f tmp.delme makefile
+makefiles=(makefile makefile_include.mk makefile.shared makefile.unix makefile.mingw makefile.msvc)
+vcproj=(libtomcrypt_VS2008.vcproj)
-perl filter.pl makefile.icc tmplist
-mv -f tmp.delme makefile.icc
+if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
+ git add ${makefiles[@]} ${vcproj[@]} doc/Doxyfile && git commit -m 'Update makefiles'
+fi
-perl filter.pl makefile.shared tmplist
-mv -f tmp.delme makefile.shared
-
-perl filter.pl makefile.unix tmplist
-mv -f tmp.delme makefile.unix
-
-perl filter.pl makefile.msvc tmplist
-sed -e 's/\.o /.obj /g' < tmp.delme > makefile.msvc
-
-rm -f tmplist
-rm -f tmp.delme
+exit 0