mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 04:17:43 +00:00
7a79a416b8
The hotshot module used there only works for Python 2. BTW the profiling turned out not be necessary. As a case in point Python 3.13 is twice as fast as Python 3.6 when using lyx2lyx. Not only that but Python 3 is almost 10 times faster than using Python 2 for this particular case.
53 lines
1.0 KiB
Makefile
53 lines
1.0 KiB
Makefile
include $(top_srcdir)/config/common.am
|
|
|
|
CLEANFILES = *.pyc *.pyo
|
|
|
|
EXTRA_DIST = lyx2lyx_version.py.in test_parser_tools.py CMakeLists.txt
|
|
|
|
CHMOD = chmod
|
|
|
|
lyx2lyxdir = $(pkgdatadir)/lyx2lyx
|
|
dist_lyx2lyx_PYTHON = \
|
|
lyx2lyx \
|
|
lyx2lyx_version.py \
|
|
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 \
|
|
lyx_0_10.py \
|
|
lyx_0_12.py \
|
|
lyx_1_0.py \
|
|
lyx_1_1.py \
|
|
lyx_1_1_5.py \
|
|
lyx_1_1_6_0.py \
|
|
lyx_1_1_6_3.py \
|
|
lyx_1_2.py \
|
|
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 \
|
|
lyx_2_5.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
|