Commit 0e6b31b8 authored by Jim Nelson's avatar Jim Nelson

Build system now removes temp file leftover during VAPI creation.

parent 3499ae95
......@@ -14,6 +14,7 @@ plugins/shotwell-spit-1.0.deps: plugins/shotwell-spit-1.0.vapi
plugins/shotwell-spit-1.0.vapi: src/plugins/SpitInterfaces.vala
$(call check_valac_version)
$(VALAC) -c $(VALAFLAGS) -X -I. --includedir=plugins --vapi=$@ --header=$(basename $@).h $<
rm $(notdir $<).o
plugins/shotwell-transitions-1.0.deps: plugins/shotwell-transitions-1.0.vapi
@printf "gdk-2.0\nshotwell-spit-1.0\n" > $@
......@@ -21,4 +22,4 @@ plugins/shotwell-transitions-1.0.deps: plugins/shotwell-transitions-1.0.vapi
plugins/shotwell-transitions-1.0.vapi: src/plugins/TransitionsInterfaces.vala plugins/shotwell-spit-1.0.vapi
$(call check_valac_version)
$(VALAC) -c $(VALAFLAGS) -X -I. --pkg=gdk-2.0 --pkg=shotwell-spit-1.0 --includedir=plugins --vapi=$@ --header=$(basename $@).h $<
rm $(notdir $<).o
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