]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/Makefile.am
Forgot these
[lyx.git] / lib / lyx2lyx / Makefile.am
index 88b82bc5e7a17daa75232b2eb60aa7de82f0e8d8..99132404153dbe3edc2add30a9c4d0818eb0512f 100644 (file)
@@ -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
 
@@ -11,8 +11,10 @@ dist_lyx2lyx_PYTHON = \
        lyx2lyx \
        lyx2lyx_version.py \
        lyx2lyx_lang.py \
-       generate_enconding_info.py \
+       generate_encoding_info.py \
        parser_tools.py \
+       lyx2lyx_tools.py \
+       unicode_symbols.py \
        LyX.py \
        lyx_0_06.py \
        lyx_0_08.py \
@@ -27,8 +29,25 @@ dist_lyx2lyx_PYTHON = \
        lyx_1_3.py \
        lyx_1_4.py \
        lyx_1_5.py \
+       lyx_1_6.py \
+       lyx_2_0.py \
+       lyx_2_1.py \
+       lyx_2_2.py \
+       lyx_2_3.py \
+       lyx_2_4.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
+