1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-31 11:39:02 +01:00
lodel2_mirror/Makefile.am
Yann b5a6adc3a8 Enhancement of distclean target
Now when running distclean ALL files generated by the ./bootstrap && ./configure && make are deleted.
Maybe it's not a good idea because it's not the purpose of distclean target...
2016-08-31 09:26:57 +02:00

41 lines
983 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SUBDIRS=lodel
#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
# 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
tests:
./runtest -v
check: tests
checks: tests
#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