Ei kuvausta
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.1KB

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