Require valac in order to 'make distcheck'

* Otherwise problems with vala files not being distributed

https://bugzilla.gnome.org/show_bug.cgi?id=681330
This commit is contained in:
Stef Walter 2012-08-06 22:13:07 +02:00
parent 4001cdf871
commit 6d4cf7c435

View File

@ -10,7 +10,8 @@ DISTCHECK_CONFIGURE_FLAGS = \
--disable-coverage \ --disable-coverage \
--enable-strict \ --enable-strict \
--disable-silent-rules \ --disable-silent-rules \
--enable-gtk-doc --enable-gtk-doc \
--enable-vala
EXTRA_DIST = \ EXTRA_DIST = \
COPYING.TESTS COPYING.TESTS
@ -40,3 +41,14 @@ upload-release: $(DIST_ARCHIVES)
upload-docs: upload-docs:
rsync -Hvax docs/reference/libsecret/html/./ master.gnome.org:public_html/libsecret-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