1 include $(top_srcdir)/config/common.am
3 EXTRA_DIST = TODO.txt tex2lyx.1in $(TEST_FILES) $(TEST_RESULTS) pch.h
5 #noinst_LIBRARIES = libtexparser.a
7 #libtexparser_a_SOURCES = \
11 #tex2lyx_LDADD = libtexparser.a
15 bin_PROGRAMS = tex2lyx
19 AM_CPPFLAGS += -DTEX2LYX -DNO_LAYOUT_CSS $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
20 -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
24 test/box-color-size-space-align.tex \
27 test/DummyDocument.tex \
28 test/Dummy~Document.tex \
31 test/test-insets.tex \
33 test/test-modules.tex \
34 test/test-refstyle-theorems.tex \
35 test/test-structure.tex \
37 test/XeTeX-polyglossia.tex \
43 test/box-color-size-space-align.lyx.lyx \
45 test/CJKutf8.lyx.lyx \
46 test/DummyDocument.lyx.lyx \
47 test/Dummy~Document.lyx.lyx \
48 test/test-insets.lyx.lyx \
50 test/test-modules.lyx.lyx \
51 test/test-refstyle-theorems.lyx.lyx \
52 test/test-structure.lyx.lyx \
53 test/verbatim.lyx.lyx \
54 test/XeTeX-polyglossia.lyx.lyx
56 alltests: check alltests-recursive
58 alltests-recursive: tex2lyx
59 @$(PYTHON) "$(srcdir)/test/runtests.py"; \
60 if test $$? -eq 0; then \
61 echo -e "=====================\ntex2lyx tests passed.\n====================="; \
63 echo -e "=====================\ntex2lyx tests failed.\n====================="; \
67 $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
77 ../graphics/GraphicsParams.cpp \
78 ../insets/ExternalTemplate.cpp \
79 ../insets/ExternalTransforms.cpp \
80 ../insets/InsetLayout.cpp \
81 ../LaTeXPackages.cpp \
84 ../LayoutModuleList.cpp \
93 BUILT_SOURCES = $(PCH_FILE)
111 $(top_builddir)/src/support/liblyxsupport.a \
112 $(LIBICONV) $(BOOST_LIBS) \
113 $(QT4_LIB) $(QT4_LDFLAGS) \
114 @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
117 tex2lyx_LDFLAGS = -framework AppKit
120 .PHONY: alltests alltests-recursive updatetests