1 include $(top_srcdir)/config/common.am
3 EXTRA_DIST = TODO.txt tex2lyx.1in $(TEST_FILES) $(TEST_RESULTS) pch.h \
4 CMakeLists.txt test/CMakeLists.txt
6 #noinst_LIBRARIES = libtexparser.a
8 #libtexparser_a_SOURCES = \
12 #tex2lyx_LDADD = libtexparser.a
16 bin_PROGRAMS = tex2lyx
20 AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
21 -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
27 test/box-color-size-space-align.tex \
30 test/DummyDocument.tex \
31 test/Dummy~Document.tex \
34 test/test-insets.tex \
36 test/test-modules.tex \
37 test/test-refstyle-theorems.tex \
38 test/test-structure.tex \
40 test/XeTeX-polyglossia.tex \
47 test/box-color-size-space-align.lyx.lyx \
49 test/CJKutf8.lyx.lyx \
50 test/DummyDocument.lyx.lyx \
51 test/Dummy~Document.lyx.lyx \
52 test/test-insets.lyx.lyx \
54 test/test-modules.lyx.lyx \
55 test/test-refstyle-theorems.lyx.lyx \
56 test/test-structure.lyx.lyx \
57 test/verbatim.lyx.lyx \
58 test/XeTeX-polyglossia.lyx.lyx
60 alltests: check alltests-recursive
62 alltests-recursive: tex2lyx
63 @$(PYTHON) "$(srcdir)/test/runtests.py"; \
64 if test $$? -eq 0; then \
65 echo -e "=====================\ntex2lyx tests passed.\n====================="; \
67 echo -e "=====================\ntex2lyx tests failed.\n====================="; \
71 $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
81 ../graphics/GraphicsParams.cpp \
82 ../insets/ExternalTemplate.cpp \
83 ../insets/ExternalTransforms.cpp \
84 ../insets/InsetLayout.cpp \
85 ../LaTeXPackages.cpp \
88 ../LayoutModuleList.cpp \
97 BUILT_SOURCES = $(PCH_FILE)
116 $(top_builddir)/src/support/liblyxsupport.a \
117 $(LIBICONV) $(BOOST_LIBS) \
118 $(QT_LIB) $(QT_LDFLAGS) \
119 @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
122 tex2lyx_LDFLAGS = -framework AppKit
125 .PHONY: alltests alltests-recursive updatetests