2014-10-13 13:49:02 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-12-02 13:27:53 +00:00
|
|
|
./helper.pl --update-makefiles || exit 1
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2018-12-02 17:28:59 +00:00
|
|
|
makefiles=(makefile makefile.shared makefile_include.mk makefile.msvc makefile.unix makefile.mingw)
|
2018-12-02 13:27:53 +00:00
|
|
|
vcproj=(libtomcrypt_VS2008.vcproj)
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2018-12-02 13:27:53 +00:00
|
|
|
if [ $# -eq 1 ] && [ "$1" == "-c" ]; then
|
|
|
|
git add ${makefiles[@]} ${vcproj[@]} && git commit -m 'Update makefiles'
|
|
|
|
fi
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2018-12-02 13:27:53 +00:00
|
|
|
exit 0
|
2014-10-13 13:49:02 +00:00
|
|
|
|
2017-08-28 14:27:26 +00:00
|
|
|
# ref: $Format:%D$
|
|
|
|
# git commit: $Format:%H$
|
|
|
|
# commit time: $Format:%ai$
|