Mercurial > dropbear
diff libtomcrypt/updatemakes.sh @ 1471:6dba84798cd5
Update to libtomcrypt 1.18.1, merged with Dropbear changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 21:44:05 +0800 |
parents | 0cbe8f6dbf9e |
children |
line wrap: on
line diff
--- a/libtomcrypt/updatemakes.sh Thu Feb 08 23:11:40 2018 +0800 +++ b/libtomcrypt/updatemakes.sh Fri Feb 09 21:44:05 2018 +0800 @@ -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 - -perl filter.pl makefile.icc tmplist -mv -f tmp.delme makefile.icc +makefiles=(makefile makefile_include.mk makefile.shared makefile.unix makefile.mingw makefile.msvc) +vcproj=(libtomcrypt_VS2008.vcproj) -perl filter.pl makefile.shared tmplist -mv -f tmp.delme makefile.shared - -perl filter.pl makefile.unix tmplist -mv -f tmp.delme makefile.unix +if [ $# -eq 1 ] && [ "$1" == "-c" ]; then + git add ${makefiles[@]} ${vcproj[@]} doc/Doxyfile && git commit -m 'Update makefiles' +fi -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