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