Ingen beskrivning
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

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. SUBDIRS=lodel progs plugins
  2. EXTRA_DIST=doc plugins runtest tplinstall examples tests
  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. check:
  24. ./runtest -v
  25. unittest: check
  26. #Cleaning documentation and dyncode
  27. clean-local: cleandoc
  28. -rm -R doc/html doc/doxygen_sqlite3.db
  29. cleandoc:
  30. -rm $(dyncode_filename)
  31. distclean-local:
  32. -rm -R Makefile Makefile.in autom4te.cache/ aclocal.m4 install-sh missing py-compile configure
  33. .PHONY: cleandoc tests doc