summaryrefslogtreecommitdiffstats
path: root/tools/extract-api.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-29 16:10:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-29 16:10:14 +0200
commit19b9118fccb1766fa55fd920853c7e2767816969 (patch)
tree44a7516b3e1f1f2155dc05f18d5667a7e2c9b561 /tools/extract-api.sh
parent0a14d053cb6aba117243b5fbdb3af1c8b84ed2d4 (diff)
parent2dee77f043a66caefe9ee33b351a7dfe4a1cef13 (diff)
downloadffi-efl-19b9118fccb1766fa55fd920853c7e2767816969.zip
ffi-efl-19b9118fccb1766fa55fd920853c7e2767816969.tar.gz
Merge branch 'master' of github.com:jeremyz/ffi-efl
Diffstat (limited to 'tools/extract-api.sh')
-rwxr-xr-xtools/extract-api.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 29844aa..254a693 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -37,6 +37,11 @@ for header in \
"${INCLUDE}/elementary-0/Elementary.h" \
; do
#
+ if [ ! -e "$header" ]; then
+ echo "$header not found, we won't generate bindings for this header."
+ continue
+ fi
+ #
DIR=$(dirname $header)
FILE=$(basename $header)
#