]> git.street.me.uk Git - andy/viking.git/blobdiff - Makefile.am
Fix Google Route Finding usage as a route type.
[andy/viking.git] / Makefile.am
index 41ead4380e8e58f456d7b26eb4e8217683c79f77..1a7d0a076349d70cce5b70734129ce5444a98cc3 100644 (file)
@@ -1,4 +1,8 @@
-SUBDIRS = src test data doc po help
+# Optionally build documentation bits
+if VIKING_DOC
+       DO_DOCS = "help doc"
+endif
+SUBDIRS = src test data po $(DO_DOCS)
 
 INTLTOOL = \
        intltool-extract.in \
@@ -37,3 +41,6 @@ ACLOCAL_AMFLAGS = -I m4
 
 DISTCHECK_CONFIGURE_FLAGS = \
        --disable-scrollkeeper
+
+# Ignore gtk theme cache files on distcheck
+distuninstallcheck_listfiles = find . -type f -print | grep -v 'icon-theme.cache'