]> www.fi.muni.cz Git - evince.git/blobdiff - Makefile.am
[build] Add --disable-tests to disable tests during distcheck
[evince.git] / Makefile.am
index 7030b1b12ab16d263c16f00ca438ce8e66353649..011d1fcdbb294dd65e25a5306a2aa49bd6add8d7 100644 (file)
@@ -8,8 +8,11 @@ SUBDIRS = \
        properties \
        shell \
        po \
-       help \
-       test
+       help
+
+if ENABLE_TESTS
+SUBDIRS += test
+endif
 
 if ENABLE_THUMBNAILER
 SUBDIRS += thumbnailer
@@ -52,7 +55,7 @@ DISTCLEANFILES =              \
 
 ACLOCAL_AMFLAGS = -I m4
 
-DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc --disable-nautilus
+DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc --disable-nautilus --disable-tests
 
 # Ignore scrollkeeper issues for now.  @#*$& scrollkeeper
 distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | grep -v /share/gnome/help/ | grep -v \.omf