[Spice-devel] [PATCH spice-gtk 3/3] gtk/controller/Makefile.am: Add explicit rules for autogenerated files

Hans de Goede hdegoede at redhat.com
Fri Sep 2 02:35:18 PDT 2011


The autogenerated files are part of make dist, without these explicit
rules doing "./autogen.sh && make dist" on a clean git checkout
will fail because it wants them but does not know how to build them.

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 gtk/controller/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/gtk/controller/Makefile.am b/gtk/controller/Makefile.am
index 6c2a91d..2d5c5af 100644
--- a/gtk/controller/Makefile.am
+++ b/gtk/controller/Makefile.am
@@ -67,6 +67,10 @@ controller.vala.stamp: $(libspice_controller_la_VALASOURCES) custom.vapi
 	$(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) $(libspice_controller_la_VALASOURCES) -H spice-controller.h
 	@touch $@
 
+spice-controller.h: controller.vala.stamp
+menu.c: controller.vala.stamp
+controller.c: controller.vala.stamp
+
 EXTRA_DIST =					\
 	$(libspice_controller_la_VALASOURCES)	\
 	controller.vala.stamp			\
-- 
1.7.6.1



More information about the Spice-devel mailing list