X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2FMakefile.am;h=4490cb72f30a8b9561afca672c32aa5afe59548b;hb=13c6350155b5941b76dddad8893003f345844535;hp=933acfd2ef5d48b20a4b0fca48416704d0037575;hpb=a9f15e7cb983690f10bedb9cb8ee2f21114ea4e1;p=lyx.git diff --git a/lib/lyx2lyx/Makefile.am b/lib/lyx2lyx/Makefile.am index 933acfd2ef..4490cb72f3 100644 --- a/lib/lyx2lyx/Makefile.am +++ b/lib/lyx2lyx/Makefile.am @@ -1,8 +1,8 @@ include $(top_srcdir)/config/common.am -CLEANFILES += *.pyc *.pyo +CLEANFILES = *.pyc *.pyo -EXTRA_DIST = lyx2lyx_version.py.in +EXTRA_DIST = lyx2lyx_version.py.in test_parser_tools.py CMakeLists.txt CHMOD = chmod @@ -13,6 +13,8 @@ dist_lyx2lyx_PYTHON = \ lyx2lyx_lang.py \ generate_encoding_info.py \ parser_tools.py \ + lyx2lyx_tools.py \ + unicode_symbols.py \ LyX.py \ lyx_0_06.py \ lyx_0_08.py \ @@ -29,8 +31,21 @@ dist_lyx2lyx_PYTHON = \ lyx_1_5.py \ lyx_1_6.py \ lyx_2_0.py \ + lyx_2_1.py \ + lyx_2_2.py \ profiling.py \ test_parser_tools.py install-data-hook: $(CHMOD) 755 $(DESTDIR)$(lyx2lyxdir)/lyx2lyx + +alltests: check alltests-recursive + +alltests-recursive: + @$(PYTHON) "$(srcdir)/test_parser_tools.py"; \ + if test $$? -eq 0; then \ + echo -e "=====================\nlyx2lyx tests passed.\n====================="; \ + else \ + echo -e "=====================\nlyx2lyx tests failed.\n====================="; \ + fi +