No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.am 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. SUBDIRS=lodel progs plugins
  2. EXTRA_DIST=plugins runtest examples tests README
  3. CLEANFILES=runtest
  4. lodel2_localstate_DATA =
  5. lodel2_localstatedir=$(localstatedir)/lodel2
  6. lodel2datadir=$(datadir)/lodel2
  7. install_model_dir = $(lodel2datadir)/install_model
  8. #python=/usr/bin/env python3
  9. python=@PYTHON@
  10. dyncode_filename='lodel/leapi/dyncode.py'
  11. # Doxygen doc generation targets
  12. doc:
  13. test -z "@DOCOK@" && echo -e "\n\nUnable to generate documentation. See ./configure output for details\n\n" >&2 || make generate-doc
  14. generate-doc: clean doc_graphviz
  15. doxygen
  16. doc_graphviz:
  17. cd doc/img/graphviz; make
  18. do_subst = sed -e 's,\[@\]INSTALLMODEL_DIR\[@\],$(install_model_dir),g'
  19. runtest: runtest.sh
  20. $(do_subst) < $(srcdir)/runtest.sh > runtest
  21. chmod +x runtest
  22. # Test em update ( examples/em_test.pickle )
  23. em_test: em_test.py
  24. $(python) em_test.py
  25. # generate leapi dynamic code
  26. dyncode: examples/em_test.pickle
  27. $(python) scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename) && echo -e "\n\nCode generated in $(dyncode_filename)"
  28. # run tests
  29. check:
  30. ./runtest -v
  31. unittest: check
  32. #Cleaning documentation and dyncode
  33. clean-local: cleandoc
  34. -rm -R doc/html doc/doxygen_sqlite3.db
  35. cleandoc:
  36. -rm $(dyncode_filename)
  37. distclean-local:
  38. -rm -R Makefile Makefile.in autom4te.cache/ aclocal.m4 install-sh missing py-compile configure
  39. .PHONY: cleandoc tests doc