]> www.fi.muni.cz Git - evince.git/blobdiff - Makefile.am
Improve wording on reference docs front page
[evince.git] / Makefile.am
index 4aef61fb8546a17283cd67633c0b08ac3634859d..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
@@ -50,13 +53,15 @@ DISTCLEANFILES =            \
        intltool-merge          \
        intltool-update
 
-DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc --disable-shave
+ACLOCAL_AMFLAGS = -I m4
+
+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
 
 distclean-local:
-       if test $(srdcir) = .; then :; else \
+       if test "$(srcdir)" = "."; then :; else \
                rm -f ChangeLog; \
        fi