rm lyx.png; exit $$saved_status
doxydoc:
- cd sourcedoc; make doxydoc
+ cd sourcedoc; $(MAKE) doxydoc
lfundoc:
development/tools/gen_lfuns.py src/LyXAction.cpp > lib/doc/LFUNs.lyx
keystest:
development/keystest/lyx_make.sh
+alltests: check alltests-recursive
+
+alltests-recursive:
+ cd src; $(MAKE) alltests-recursive
+
+updatetests:
+ cd src; $(MAKE) updatetests
+
lgbtags:
etags --totals=yes --recurse=yes -o TAGS $(top_srcdir)/*
-.PHONY: doxydoc
+.PHONY: doxydoc alltests alltests-recursive updatetests
EXTRA_DIST += \
tests/test_layout
+alltests: check alltests-recursive
-TESTS = \
- tests/test_layout
+alltests-recursive: check_layout
+ @srcdir=$(srcdir) $(srcdir)/tests/test_layout; \
+ if test $$? -eq 0; then \
+ echo -e "====================\nlayout tests passed.\n===================="; \
+ else \
+ echo -e "====================\nlayout tests failed.\n===================="; \
+ fi
+ cd tex2lyx; $(MAKE) alltests-recursive
+
+updatetests:
+ cd tex2lyx; $(MAKE) updatetests
check_PROGRAMS = \
check_layout
support/tests/boost.cpp \
support/tests/dummy_functions.cpp
+.PHONY: alltests alltests-recursive updatetests
test/verbatim.lyx.lyx \
test/XeTeX-polyglossia.lyx.lyx
-TESTS = test/runtests.py
+alltests: check alltests-recursive
+
+alltests-recursive: tex2lyx
+ @$(PYTHON) "$(srcdir)/test/runtests.py"; \
+ if test $$? -eq 0; then \
+ echo -e "=====================\ntex2lyx tests passed.\n====================="; \
+ else \
+ echo -e "=====================\ntex2lyx tests failed.\n====================="; \
+ fi
+
updatetests: tex2lyx
$(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
if INSTALL_MACOSX
tex2lyx_LDFLAGS = -framework AppKit
endif
+
+.PHONY: alltests alltests-recursive updatetests