Mercurial > dropbear
comparison libtomcrypt/updatemakes.sh @ 1511:5916af64acd4 fuzz
merge from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 17 Feb 2018 19:29:51 +0800 |
parents | 6dba84798cd5 |
children |
comparison
equal
deleted
inserted
replaced
1457:32f990cc96b1 | 1511:5916af64acd4 |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 | 2 |
3 bash genlist.sh > tmplist | 3 ./helper.pl --update-makefiles || exit 1 |
4 | 4 |
5 perl filter.pl makefile tmplist | 5 makefiles=(makefile makefile_include.mk makefile.shared makefile.unix makefile.mingw makefile.msvc) |
6 mv -f tmp.delme makefile | 6 vcproj=(libtomcrypt_VS2008.vcproj) |
7 | 7 |
8 perl filter.pl makefile.icc tmplist | 8 if [ $# -eq 1 ] && [ "$1" == "-c" ]; then |
9 mv -f tmp.delme makefile.icc | 9 git add ${makefiles[@]} ${vcproj[@]} doc/Doxyfile && git commit -m 'Update makefiles' |
10 fi | |
10 | 11 |
11 perl filter.pl makefile.shared tmplist | 12 exit 0 |
12 mv -f tmp.delme makefile.shared | |
13 | |
14 perl filter.pl makefile.unix tmplist | |
15 mv -f tmp.delme makefile.unix | |
16 | |
17 perl filter.pl makefile.msvc tmplist | |
18 sed -e 's/\.o /.obj /g' < tmp.delme > makefile.msvc | |
19 | |
20 rm -f tmplist | |
21 rm -f tmp.delme |