include $(top_srcdir)/config/common.am
-DIST_SUBDIRS = boost hunspell mythes libiconv zlib
+DIST_SUBDIRS = boost dtl hunspell mythes libiconv zlib
if USE_INCLUDED_BOOST
if LYX_USE_STD_REGEX
ZLIB = zlib
endif
-SUBDIRS = $(BOOST) $(HUNSPELL) $(MYTHES) $(ICONV) $(ZLIB)
+if BUILD_INCLUDED_DTL
+DTL=dtl
+endif
+
+SUBDIRS = $(BOOST) $(DTL) $(HUNSPELL) $(MYTHES) $(ICONV) $(ZLIB)
EXTRA_DIST = \
scripts/evince_sync/evince_backward_search \