[gtk-doc] build: test xsl files in src dir



commit 84a4a526a38fb6a710a373946a58aa9281948db4
Author: Stefan Kost <ensonic users sf net>
Date:   Sun Mar 28 20:12:53 2010 +0300

    build: test xsl files in src dir
    
    Fixes make distcheck.

 tests/Makefile.am |    1 +
 tests/tools.sh.in |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 61f7eee..106df63 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -7,6 +7,7 @@ if BUILD_TESTS
 TESTS = tools.sh gobject.sh bugs.sh annotations.sh fail.sh empty.sh
 TESTS_ENVIRONMENT = \
 	ABS_TOP_BUILDDIR=$(abs_top_builddir) \
+	ABS_TOP_SRCDIR=$(abs_top_srcdir) \
 	PATH=$(abs_top_builddir):$(srcdir):$(PATH) \
 	PERL5LIB=$(abs_top_builddir):$(PERL5LIB)
 
diff --git a/tests/tools.sh.in b/tests/tools.sh.in
index 242adcf..763c58c 100644
--- a/tests/tools.sh.in
+++ b/tests/tools.sh.in
@@ -31,7 +31,7 @@ done
 
 # test xsl files
 
-for file in $ABS_TOP_BUILDDIR/*.xsl; do
+for file in $ABS_TOP_SRCDIR/*.xsl; do
   xmllint --noout --noent $file
   if test $? != 0 ; then
     failed=$(($failed + 1));



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