* bench/ltl2tgba/sum.py: New file. * bench/ltl2tgba/.gitignore, bench/ltl2tgba/Makefile.am, bench/ltl2tgba/README, bench/ltl2tgba/algorithms, bench/ltl2tgba/big, bench/ltl2tgba/defs.in, bench/ltl2tgba/known, bench/ltl2tgba/small: Rewrite this benchmark completely. Also drop support of Wring and Modella, as we cannot get them to work reliably. * bench/ltl2tgba/formulae.ltl: Rewrite in Spot's syntax. * bench/ltl2tgba/lbtt2csv.pl, bench/ltl2tgba/ltl2baw.in, bench/ltl2tgba/parseout.pl: Delete these scripts, no longer needed. * configure.ac: Do not output ltl2baw.pl anymore.
40 lines
915 B
Makefile
40 lines
915 B
Makefile
EXTRA_DIST = \
|
|
algorithms \
|
|
big \
|
|
formulae.ltl \
|
|
known \
|
|
small \
|
|
sum.py
|
|
|
|
OUTPUTS = known small big
|
|
OUTCSV = $(OUTPUTS:=.csv)
|
|
OUTJSON = $(OUTPUTS:=.json)
|
|
OUTLOG = $(OUTPUTS:=.log)
|
|
|
|
CLEANFILES = $(OUTCSV) $(OUTJSON) $(OUTLOG) \
|
|
results.pdf results.aux results.log results.tex
|
|
|
|
.PHONY = run
|
|
|
|
run: $(OUTJSON)
|
|
|
|
deps = $(srcdir)/algorithms \
|
|
$(top_srcdir)/configure.ac \
|
|
$(top_builddir)/src/bin/ltl2tgba
|
|
|
|
small.json: $(srcdir)/small $(deps)
|
|
$(srcdir)/small
|
|
big.json: $(srcdir)/big $(deps)
|
|
$(srcdir)/big
|
|
known.json: $(srcdir)/known $(srcdir)/formulae.ltl $(deps)
|
|
$(srcdir)/known
|
|
|
|
results.tex: $(srcdir)/sum.py $(OUTJSON)
|
|
v=`git describe --always --dirty 2>/dev/null || \
|
|
echo $(PACKAGE_STRING)`; \
|
|
$(srcdir)/sum.py $(OUTJSON) >$(@:.tex=.tmp) \
|
|
--intro "Results assembled on `LANG=C date` with $$v."; \
|
|
mv $(@:.tex=.tmp) $@
|
|
|
|
results.pdf: results.tex
|
|
pdflatex results.tex
|