]> git.street.me.uk Git - andy/viking.git/blobdiff - Makefile.am
Fix compilation warning
[andy/viking.git] / Makefile.am
index 41ead4380e8e58f456d7b26eb4e8217683c79f77..4a5a270832b749c89bc0195c73b91aa950af8d59 100644 (file)
@@ -1,4 +1,8 @@
-SUBDIRS = src test data doc po help
+# Optionally build documentation bits
+if VIKING_DOC
+       DO_DOCS = "doc"
+endif
+SUBDIRS = src test data po win32 help $(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'