From 1ccbe098d6379612fcef09f4000da23585af980a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 25 Mar 2011 22:03:28 +0100 Subject: [PATCH] gtk-doc-plugins.mak: Only check for the hierarchy file if gtk-doc is enabled --- gtk-doc-plugins.mak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak index 0c0019c..c0ff7b3 100644 --- a/gtk-doc-plugins.mak +++ b/gtk-doc-plugins.mak @@ -302,6 +302,7 @@ uninstall-local: # # Checks # +if ENABLE_GTK_DOC check-hierarchy: $(DOC_MODULE).hierarchy @if grep ' ' $(DOC_MODULE).hierarchy; then \ echo "$(DOC_MODULE).hierarchy contains tabs, please fix"; \ @@ -309,6 +310,7 @@ check-hierarchy: $(DOC_MODULE).hierarchy fi check: check-hierarchy +endif # wildcard is apparently not portable to other makes, hence the use of find inspect_files = $(shell find $(srcdir)/$(INSPECT_DIR) -name '*.xml') -- 2.7.4