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)
26 test/box-color-size-space-align.tex \
29 test/DummyDocument.tex \
30 test/Dummy~Document.tex \
33 test/test-insets.tex \
35 test/test-modules.tex \
36 test/test-refstyle-theorems.tex \
37 test/test-structure.tex \
39 test/XeTeX-polyglossia.tex \
45 test/box-color-size-space-align.lyx.lyx \
47 test/CJKutf8.lyx.lyx \
48 test/DummyDocument.lyx.lyx \
49 test/Dummy~Document.lyx.lyx \
50 test/test-insets.lyx.lyx \
52 test/test-modules.lyx.lyx \
53 test/test-refstyle-theorems.lyx.lyx \
54 test/test-structure.lyx.lyx \
55 test/verbatim.lyx.lyx \
56 test/XeTeX-polyglossia.lyx.lyx
58 alltests: check alltests-recursive
60 alltests-recursive: tex2lyx
61 @$(PYTHON) "$(srcdir)/test/runtests.py"; \
62 if test $$? -eq 0; then \
63 echo -e "=====================\ntex2lyx tests passed.\n====================="; \
65 echo -e "=====================\ntex2lyx tests failed.\n====================="; \
69 $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
79 ../graphics/GraphicsParams.cpp \
80 ../insets/ExternalTemplate.cpp \
81 ../insets/ExternalTransforms.cpp \
82 ../insets/InsetLayout.cpp \
83 ../LaTeXPackages.cpp \
86 ../LayoutModuleList.cpp \
95 BUILT_SOURCES = $(PCH_FILE)
114 $(top_builddir)/src/support/liblyxsupport.a \
115 $(LIBICONV) $(BOOST_LIBS) \
116 $(QT_LIB) $(QT_LDFLAGS) \
117 @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
120 tex2lyx_LDFLAGS = -framework AppKit
123 .PHONY: alltests alltests-recursive updatetests