summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-02-05 13:28:57 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-11 22:03:31 +0100
commitfca5491289bbdfe41ec9d96357b2f0e61b289804 (patch)
tree7089bdd7ce56a7c95de24569fad16bfb978c56b3 /classes
parente51e1cf0372fc70522878792edbb642e6d12fd9c (diff)
vala.bbclass: dont put config.vapi to staging
* config.vapi is per-app and can be considered as part of the autotools stuff Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/vala.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/classes/vala.bbclass b/classes/vala.bbclass
index 125820c00c..26339058c8 100644
--- a/classes/vala.bbclass
+++ b/classes/vala.bbclass
@@ -5,10 +5,12 @@ FILES_${PN}-dev += "\
${datadir}/vala/vapi/*.deps \
"
+VALA_DONT_STAGE_VAPIS ?= "\(/config.vapi$\)\|\(/config.deps$\)"
+
# .vapi and .deps files are arch independent and need to be present in the
# staging datadir for the native vala compiler
do_stage_append() {
install -d ${STAGING_DATADIR_NATIVE}/vala/vapi
- find . -name "*.vapi" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \;
- find . -name "*.deps" -exec install -m 0644 {} ${STAGING_DATADIR_NATIVE}/vala/vapi/ \;
+ for VALAFILE in `find . -name "*.vapi" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${STAGING_DATADIR_NATIVE}/vala/vapi/; done
+ for VALAFILE in `find . -name "*.deps" | grep -v "$VALA_DONT_STAGE_VAPIS"`; do install -m 0644 ${VALAFILE} ${STAGING_DATADIR_NATIVE}/vala/vapi/; done
}