-SUBDIRS = cut-n-paste po help data
+SUBDIRS = cut-n-paste po help data test
# Backends
-SUBDIRS += pdf ps
+if ENABLE_PDF
+SUBDIRS += pdf
+endif
+
+if ENABLE_PS
+SUBDIRS += ps
+endif
if ENABLE_PIXBUF
SUBDIRS += pixbuf
SUBDIRS += dvi
endif
+if ENABLE_COMICS
+ SUBDIRS += comics
+endif
+
+if ENABLE_IMPRESS
+ SUBDIRS += impress
+endif
+
SUBDIRS += backend
# Library