Commit 16cc32dd authored by Christophe Fergeau's avatar Christophe Fergeau
Browse files

build: don't always rebuild .vapi file

vapigen not touching nor overwrite the dest file if its content hasn't
changed. This causes the rule to generate the .vapi file to always trigger
as it will always be older than the .gir file which is generated
during the build. Workaround this issue by touching the .vapi file
after generating it.
parent 953e8ae4
......@@ -165,6 +165,10 @@ $(srcdir)/gd-1.0.vapi: $(srcdir)/Gd-1.0.gir
--library gd-1.0 \
--pkg gtk+-3.0 \
#This 'touch' is a workaround for vapigen not touching the dest file if
#its content hasn't changed, which causes the rule to generate the .vapi
#file to always trigger
@touch $@
noinst_DATA += $(VAPIS)
Supports Markdown
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