build: ensure gtk-doc is enabled when doing dist

This commit is contained in:
Aleksander Morgado
2012-02-28 00:17:40 +01:00
parent ca9104dcb4
commit 1ad7bc885d

View File

@@ -1,2 +1,14 @@
SUBDIRS = reference man
# require gtk-doc when making dist
#
if ENABLE_GTK_DOC
dist-check-gtk-doc:
else
dist-check-gtk-doc:
@echo "*** gtk-doc must be enabled in order to make dist"
@false
endif
dist-hook: dist-check-gtk-doc