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) -I$(top_builddir)/src \
28 test/box-color-size-space-align.tex \
31 test/DummyDocument.tex \
32 test/Dummy~Document.tex \
35 test/test-insets.tex \
36 test/test-insets-basic.lyx \
38 test/test-memoir.tex \
39 test/test-modules.tex \
40 test/test-refstyle-theorems.tex \
42 test/test-structure.tex \
44 test/XeTeX-polyglossia.tex \
51 test/box-color-size-space-align.lyx.lyx \
53 test/CJKutf8.lyx.lyx \
54 test/DummyDocument.lyx.lyx \
55 test/Dummy~Document.lyx.lyx \
56 test/test-insets.lyx.lyx \
57 test/test-insets-basic.lyx.lyx \
59 test/test-memoir.lyx.lyx \
60 test/test-modules.lyx.lyx \
61 test/test-refstyle-theorems.lyx.lyx \
62 test/test-scr.lyx.lyx \
63 test/test-structure.lyx.lyx \
64 test/verbatim.lyx.lyx \
65 test/XeTeX-polyglossia.lyx.lyx
67 alltests: check alltests-recursive
69 alltests-recursive: tex2lyx
70 if test "$(srcdir)" = "$(builddir)"; then \
71 echo "tex2lyx tests require a separate build directory"; \
74 @$(PYTHON) "$(srcdir)/test/runtests.py"; \
75 if test $$? -eq 0; then \
76 echo -e "=====================\ntex2lyx tests passed.\n====================="; \
78 echo -e "=====================\ntex2lyx tests failed.\n====================="; \
82 $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
92 ../graphics/GraphicsParams.cpp \
93 ../insets/ExternalTemplate.cpp \
94 ../insets/ExternalTransforms.cpp \
95 ../insets/InsetLayout.cpp \
96 ../LaTeXPackages.cpp \
99 ../LayoutModuleList.cpp \
101 ../lengthcommon.cpp \
108 BUILT_SOURCES = $(PCH_FILE)
127 $(top_builddir)/src/support/liblyxsupport.a \
128 $(LIBICONV) $(BOOST_LIBS) \
129 $(QT_LIB) $(QT_LDFLAGS) \
130 @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
133 tex2lyx_LDFLAGS = -framework AppKit
136 .PHONY: alltests alltests-recursive updatetests