Blame tests/mathml/Makefile

Packit Service 76cb02
#
Packit Service 76cb02
# Two testsuites are available: Testsuite for MathML 1.0 (1) and 
Packit Service 76cb02
# Testsuite for MathML 2.0 (2).
Packit Service 76cb02
# The default testsuite used is MathML 2.0, that can be compiled step by step
Packit Service 76cb02
# (for debug purpose) or in a single step.
Packit Service 76cb02
#
Packit Service 76cb02
TOP = ../..
Packit Service 76cb02
PWD = $(shell pwd)
Packit Service 76cb02
TEXIN = $(shell echo ${TEXINPUTS})
Packit Service 76cb02
TSTFILE = mmltest
Packit Service 76cb02
TSTBASE = .
Packit Service 76cb02
OPT =
Packit Service 76cb02
Packit Service 76cb02
all: full2
Packit Service 76cb02
Packit Service 76cb02
full%: $(TSTFILE)%.xml
Packit Service 76cb02
	$(TOP)/scripts/dblatex $<
Packit Service 76cb02
Packit Service 76cb02
test1: $(TSTFILE)1.tex $(TSTFILE)1.dvi $(TSTFILE)1.xml
Packit Service 76cb02
test2: $(TSTFILE)2.tex $(TSTFILE)2.dvi $(TSTFILE)2.xml
Packit Service 76cb02
Packit Service 76cb02
# FORCE to let compile several times
Packit Service 76cb02
%.pdf: %.tex FORCE
Packit Service 76cb02
	TEXINPUTS=:$(PWD)/$(TOP)/latex//:$(TEXIN) pdflatex $<
Packit Service 76cb02
Packit Service 76cb02
%.dvi: %.tex
Packit Service 76cb02
	TEXINPUTS=:$(PWD)/$(TOP)/latex//:$(TEXIN) latex $<
Packit Service 76cb02
Packit Service 76cb02
%.tex: %.xml
Packit Service 76cb02
	$(TOP)/scripts/dblatex -t tex -o $@ $<
Packit Service 76cb02
Packit Service 76cb02
%1.xml:
Packit Service 76cb02
	./build/make_testmml $(OPT) --exclude excluded1 $(TSTBASE)/suite1/testsuite/ > $@
Packit Service 76cb02
Packit Service 76cb02
%2.xml:
Packit Service 76cb02
	./build/make_testmml $(OPT) --exclude excluded2 $(TSTBASE)/suite2/testsuite/ > $@
Packit Service 76cb02
Packit Service 76cb02
FORCE: