summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRob Staudinger <robsta@linux.intel.com>2012-02-13 21:14:33 +0100
committerRob Staudinger <robsta@linux.intel.com>2012-02-13 21:14:33 +0100
commitd63ae627ff68cd2a7320594879fab1b5e4bd674e (patch)
treebabbf5d37279f87585555f108b20ee1f80c124fc /docs
parentcb89d6783fe7dc588caf541a4f5812dd78f21280 (diff)
docs: Fix theck for ignored files
The check for ignored header files would break in a distcheck / out-of-tree build setting. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=46007
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/ytstenut/Makefile.am14
1 files changed, 3 insertions, 11 deletions
diff --git a/docs/reference/ytstenut/Makefile.am b/docs/reference/ytstenut/Makefile.am
index 2fa44fe..a482da9 100644
--- a/docs/reference/ytstenut/Makefile.am
+++ b/docs/reference/ytstenut/Makefile.am
@@ -139,22 +139,14 @@ if BUILD_GTK_DOC
#TESTS = $(GTKDOC_CHECK)
endif
-# This is a hack to prevent the ignores list from containing stale entries.
-# Check if any of them are no more existant, and if so, bail out.
-if ENABLE_GTK_DOC
-HTML_BUILD_STAMP += check-ignores.stamp
-CLEANFILES += check-ignores.stamp
-endif
-
-check-ignores.stamp:
+check-local:
$(AM_V_GEN) b=`tput bold` && \
n=`tput sgr0` && \
for f in $(IGNORE_HFILES); do \
- if [ "`find $(DOC_SOURCE_DIR) -name $${f}`" = "" ]; then \
- echo "$${b}Error: $${f} is ignored but not found anyway.$${n}"; \
+ if [ "`find $(srcdir)/$(DOC_SOURCE_DIR) -name $${f}`" = "" ]; then \
+ echo "$${b}Error: $${f} is ignored but not found anyway.$${n}"; \
exit 1; \
fi \
done
- @touch $@
-include $(top_srcdir)/git.mk