]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Makefile.am
Get rid of extraneous whitespace.
[lyx.git] / src / tex2lyx / Makefile.am
index 7b22fe5f49bbae3ff5eec195f01608d655c69169..4871a21123b16b96c03f5796709b666c193b2112 100644 (file)
@@ -1,8 +1,7 @@
 include $(top_srcdir)/config/common.am
 
-INCLUDES = -I$(srcdir)/../ $(BOOST_INCLUDES)
 EXTRA_DIST = test-structure.tex test-insets.tex
-DISTCLEANFILES += $(linked_files)
+DISTCLEANFILES += $(BUILT_SOURCES)
 
 #noinst_LTLIBRARIES = libtexparser.la
 #
@@ -14,6 +13,8 @@ DISTCLEANFILES += $(linked_files)
 
 bin_PROGRAMS = tex2lyx
 
+AM_CPPFLAGS = $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
+
 BUILT_SOURCES = \
        FloatList.C \
        Floating.C \
@@ -33,6 +34,7 @@ tex2lyx_SOURCES = \
        context.h \
        gettext.C \
        gettext.h \
+       lengthcommon.C \
        lyxfont.C \
        lyxfont.h \
        texparser.C \
@@ -45,12 +47,12 @@ tex2lyx_SOURCES = \
        text.C
 
 tex2lyx_LDADD = \
-       ../support/libsupport.la \
-       ../../boost/libs/regex/src/libboostregex.la -lz
+       $(top_builddir)/src/support/libsupport.la \
+       $(BOOST_REGEX) -lz
 
 $(BUILT_SOURCES) :
        @rm -f $@ ; \
        $(LN_S) $(top_srcdir)/src/$@ .
 
 rm_link_files:
-       rm -f $(linked_files)
+       rm -f $(BUILT_SOURCES)