-SUBDIRS = lib cut-n-paste data backend po pdf ps pixbuf shell thumbnailer
+SUBDIRS = lib cut-n-paste backend po help data
+
+# Backends
+
+SUBDIRS += pdf ps pixbuf
+
+if ENABLE_DJVU
+ SUBDIRS += djvu
+endif
+
+if ENABLE_TIFF
+ SUBDIRS += tiff
+endif
+
+if ENABLE_DVI
+ SUBDIRS += dvi
+endif
+
+# Applications
+
+SUBDIRS += shell thumbnailer properties
intltool_extra = intltool-extract.in intltool-merge.in intltool-update.in
intltool-update
DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install
+
+# Ignore scrollkeeper issues for now. @#*$& scrollkeeper
+distuninstallcheck_listfiles = find . -type f -print | grep -v scrollkeeper | grep -v /share/gnome/help/ | grep -v \.omf