1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-23 07:48:08 +00:00

only rebuild default_options_guard.h if necessary

This commit is contained in:
Greg Alexander 2019-08-10 20:27:19 -04:00
parent 72a4a088bd
commit 39705de36e

4
doit
View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
instlib() {
for i in `ls libs`
@ -8,7 +8,7 @@ instlib() {
done
}
dropbear/ifndef_wrapper.sh < dropbear/default_options.h > dropbear/default_options_guard.h &&
[ dropbear/default_options.h -nt dropbear/default_options_guard.h ] && dropbear/ifndef_wrapper.sh < dropbear/default_options.h > dropbear/default_options_guard.h
~/Android/Sdk/ndk-bundle/ndk-build -j8 &&
mkdir -p app/src/main/lib/armeabi-v7a &&
instlib scp libscp.so &&