From 0678dacde93605f1b04e151473de32b21526f38f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 7 Jun 2013 17:12:07 -0500 Subject: Making sure the check is done in the source directory --- docs/reference/Makefile.am | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'docs/reference') diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am index 2c201bd..1788967 100644 --- a/docs/reference/Makefile.am +++ b/docs/reference/Makefile.am @@ -119,5 +119,15 @@ if ENABLE_GTK_DOC TESTS_ENVIRONMENT = cd $(srcdir) && \ DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) -TESTS = $(GTKDOC_CHECK) + +TESTS = gtkdoc-in-srcdir + +gtkdoc-in-srcdir: Makefile.am + @echo "#!/bin/sh" > $@ + @echo "cd \"$(srcdir)\"" >> $@ + @echo "$(GTKDOC_CHECK)" >> $@ + @chmod +x $@ + +DISTCLEANFILES = gtkdoc-in-srcdir + endif -- cgit v1.2.3