[gcab] build-sys: fix make check



commit 8b762a621c332eaee23b244a5435a7684cd0943b
Author: Marc-André Lureau <marcandre lureau gmail com>
Date:   Fri Jul 5 14:56:08 2013 +0200

    build-sys: fix make check
    
    fatal: making test-suite.log: failed to create /usr/bin/gtkdoc-check.trs
    fatal: making test-suite.log: failed to create /usr/bin/gtkdoc-check.log'

 docs/reference/Makefile.am |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 55eada1..3f52e4c 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -32,10 +32,15 @@ EXTRA_DIST += gcab-docs.sgml.in
 DISTCLEANFILES = $(DOC_MODULE).types
 
 if ENABLE_GTK_DOC
+doccheck: $(GTKDOC_CHECK)
+       $(AM_V_GEN)ln -s $< $@
+
+MOSTLYCLEANFILES = doccheck
+
 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 = doccheck
 endif
 
 -include $(top_srcdir)/git.mk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]