Commit 43b2c4f7 authored by Jonathan Michalon's avatar Jonathan Michalon

libovccclient: fix vapi directory prefix hack

Somehow the vapi hack to use a directory prefix for header did not run
anymore, probably because of new vala version 0.17 testing.
Fixed by using the same principle as in libovcc.
parent 5680e980
......@@ -11,8 +11,10 @@ libovccclient_la_SOURCES = ovccclient-client.vala \
ovccclientinclude_HEADERS = ovccclient.h
vapi_DATA = ovccclient.vapi
$(lib_LTLIBRARIES): stamp-hack
# hack: add prefix to header filename in VAPI file
ovccclient.vapi: libovccclient_la_vala.stamp
stamp-hack: ovccclient.vapi
$(AM_V_GEN) \
sed -i 's~"\(ovccclient.h\)"~"ovcc/\1"~g' $@
sed -i 's~"\(ovccclient.h\)"~"ovcc/\1"~g' $<
touch $@
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment