1 include $(top_srcdir)/config/common.am
3 EXTRA_DIST = TODO.txt tex2lyx.1in $(TEST_FILES) $(TEST_RESULTS) \
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 += -I$(top_srcdir)/src/tex2lyx \
21 -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src \
22 $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES)
29 test/box-color-size-space-align.tex \
32 test/DummyDocument.tex \
33 test/Dummy~Document.tex \
36 test/listpreamble.tex \
37 test/test-insets.tex \
38 test/test-insets-basic.tex \
40 test/test-memoir.tex \
41 test/test-minted.tex \
42 test/test-modules.tex \
43 test/test-refstyle-theorems.tex \
45 test/test-structure.tex \
47 test/XeTeX-polyglossia.tex \
55 test/box-color-size-space-align.lyx.lyx \
57 test/CJKutf8.lyx.lyx \
58 test/DummyDocument.lyx.lyx \
59 test/Dummy~Document.lyx.lyx \
60 test/listpreamble.lyx.lyx \
61 test/test-insets.lyx.lyx \
62 test/test-insets-basic.lyx.lyx \
64 test/test-memoir.lyx.lyx \
65 test/test-minted.lyx.lyx \
66 test/test-modules.lyx.lyx \
67 test/test-refstyle-theorems.lyx.lyx \
68 test/test-scr.lyx.lyx \
69 test/test-structure.lyx.lyx \
70 test/verbatim.lyx.lyx \
71 test/XeTeX-polyglossia.lyx.lyx
73 alltests: check alltests-recursive
75 alltests-recursive: tex2lyx
76 if test "$(srcdir)" = "$(builddir)"; then \
77 echo "tex2lyx tests require a separate build directory"; \
80 @$(PYTHON) "$(srcdir)/test/runtests.py"; \
81 if test $$? -eq 0; then \
82 echo -e "=====================\ntex2lyx tests passed.\n====================="; \
84 echo -e "=====================\ntex2lyx tests failed.\n====================="; \
88 $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
92 ../CiteEnginesList.o \
99 ../graphics/GraphicsParams.o \
100 ../insets/ExternalTemplate.o \
101 ../insets/ExternalTransforms.o \
102 ../insets/InsetLayout.o \
106 ../LayoutModuleList.o \
132 $(top_builddir)/src/support/liblyxsupport.a \
133 $(LIBICONV) $(BOOST_LIBS) \
134 $(QT_LIB) $(QT_LDFLAGS) \
135 @LIBS@ $(ICONV_LIBS) $(ZLIB_LIBS) $(LIBSHLWAPI) $(LIBPSAPI)
138 tex2lyx_LDFLAGS = -framework AppKit \
139 -Wl,-rpath,@loader_path/../Frameworks \
140 -Wl,-rpath,@executable_path/../Frameworks \
141 -Wl,-headerpad_max_install_names
144 .PHONY: alltests alltests-recursive updatetests