From 6d4cf7c435bd2a67e94a17ff75682f00494069b2 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 6 Aug 2012 22:13:07 +0200 Subject: [PATCH] Require valac in order to 'make distcheck' * Otherwise problems with vala files not being distributed https://bugzilla.gnome.org/show_bug.cgi?id=681330 --- Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2bdd1e0..6e4ef57 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,7 +10,8 @@ DISTCHECK_CONFIGURE_FLAGS = \ --disable-coverage \ --enable-strict \ --disable-silent-rules \ - --enable-gtk-doc + --enable-gtk-doc \ + --enable-vala EXTRA_DIST = \ COPYING.TESTS @@ -40,3 +41,14 @@ upload-release: $(DIST_ARCHIVES) upload-docs: rsync -Hvax docs/reference/libsecret/html/./ master.gnome.org:public_html/libsecret-docs/ + +if HAVE_VALAC +dist-check-valac: + +else +dist-check-valac: + @echo "*** valac must be installed and enabled in order to make dist" + @false +endif + +dist-hook: dist-check-valac