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 \
37 test/test-modules.tex \
38 test/test-refstyle-theorems.tex \
39 test/test-structure.tex \
41 test/XeTeX-polyglossia.tex \
48 test/box-color-size-space-align.lyx.lyx \
50 test/CJKutf8.lyx.lyx \
51 test/DummyDocument.lyx.lyx \
52 test/Dummy~Document.lyx.lyx \
53 test/test-insets.lyx.lyx \
55 test/test-modules.lyx.lyx \
56 test/test-refstyle-theorems.lyx.lyx \
57 test/test-structure.lyx.lyx \
58 test/verbatim.lyx.lyx \
59 test/XeTeX-polyglossia.lyx.lyx
61 alltests: check alltests-recursive
63 alltests-recursive: tex2lyx
64 @$(PYTHON) "$(srcdir)/test/runtests.py"; \
65 if test $$? -eq 0; then \
66 echo -e "=====================\ntex2lyx tests passed.\n====================="; \
68 echo -e "=====================\ntex2lyx tests failed.\n====================="; \
72 $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
82 ../graphics/GraphicsParams.cpp \
83 ../insets/ExternalTemplate.cpp \
84 ../insets/ExternalTransforms.cpp \
85 ../insets/InsetLayout.cpp \
86 ../LaTeXPackages.cpp \
89 ../LayoutModuleList.cpp \
98 BUILT_SOURCES = $(PCH_FILE)
117 $(top_builddir)/src/support/liblyxsupport.a \
118 $(LIBICONV) $(BOOST_LIBS) \
119 $(QT_LIB) $(QT_LDFLAGS) \
120 @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
123 tex2lyx_LDFLAGS = -framework AppKit
126 .PHONY: alltests alltests-recursive updatetests