1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- SUBDIRS=lodel progs plugins
- EXTRA_DIST=plugins runtest examples tests README
- CLEANFILES=runtest
-
- lodel2_localstate_DATA =
- lodel2_localstatedir=$(localstatedir)/lodel2
-
- lodel2datadir=$(datadir)/lodel2
- install_model_dir = $(lodel2datadir)/install_model
-
- #python=/usr/bin/env python3
- python=@PYTHON@
- dyncode_filename='lodel/leapi/dyncode.py'
-
- # Doxygen doc generation targets
- doc:
- test -z "@DOCOK@" && echo -e "\n\nUnable to generate documentation. See ./configure output for details\n\n" >&2 || make generate-doc
-
- generate-doc: clean doc_graphviz
- doxygen
-
- doc_graphviz:
- cd doc/img/graphviz; make
-
-
- do_subst = sed -e 's,\[@\]INSTALLMODEL_DIR\[@\],$(install_model_dir),g'
-
- runtest: runtest.sh
- $(do_subst) < $(srcdir)/runtest.sh > runtest
- chmod +x runtest
-
-
- # Test em update ( examples/em_test.pickle )
- em_test: em_test.py
- $(python) em_test.py
-
- # generate leapi dynamic code
- dyncode: examples/em_test.pickle
- $(python) scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename) && echo -e "\n\nCode generated in $(dyncode_filename)"
-
- # run tests
- check:
- ./runtest -v
-
- unittest: check
-
- #Cleaning documentation and dyncode
- clean-local: cleandoc
- -rm -R doc/html doc/doxygen_sqlite3.db
- cleandoc:
- -rm $(dyncode_filename)
-
- distclean-local:
- -rm -R Makefile Makefile.in autom4te.cache/ aclocal.m4 install-sh missing py-compile configure
-
- .PHONY: cleandoc tests doc
|