Added some rules to make test.html by the generator. Peter Hatina EMEA ENG-Desktop Development Red Hat Czech, Brno --- data/Makefile.am | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index b47e0c0..cf2687b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,3 +1,16 @@ -NULL = +if BUILD_GENERATOR +TEST_PAGE = test.html +IDL = $(top_srcdir)/SpiceXPI/src/plugin/nsISpicec.idl +GENERATOR_DIR = $(top_srcdir)/generator +GENERATOR = $(GENERATOR_DIR)/spice-xpi-generator +CLEAN_FILES = $(TEST_PAGE) +EXTRA_DIST = $(TEST_PAGE) -EXTRA_DIST = test.html +all: $(TEST_PAGE) + +$(GENERATOR): + make -C $(GENERATOR_DIR) + +$(TEST_PAGE): $(IDL) $(GENERATOR) + $(GENERATOR) -i $< -o $@ +endif -- 1.7.10.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel