1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-10-21 16:49:02 +02:00
lodel2_mirror/Makefile
Yann c7b583d416 New webui plugin + create_instance.sh update
- create_instance.sh create some symbolic links
- webui plugin that add webui configuration variable
2016-05-18 16:12:40 +02:00

39 lines
816 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.

python=python3
dyncode_filename='lodel/leapi/dyncode.py'
all: tests doc dyncode
# generate doxygen documentation
doc: cleandoc doc_graphviz
doxygen
doc_graphviz:
cd doc/img/graphviz; make
# Test em update ( examples/em_test.pickle )
em_test:
$(python) em_test.py
# generate leapi dynamic code
dyncode: clean_dyn em_test
$(python) scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename) && echo -e "\n\nCode generated in $(dyncode_filename)"
# run tests
tests:
./runtest -v
.PHONY: clean clean_dyn cleandoc cleanpyc tests
clean: clean_dyn cleandoc cleanpyc
cleanpyc:
-find ./ |grep -E "\.pyc$$" |xargs rm -f 2>/dev/null
cleanpycache:
-find ./ -type d |grep '__pycache__' | xargs rmdir -f 2>/dev/null
cleandoc:
-rm -R doc/html doc/doxygen_sqlite3.db
clean_dyn:
-rm $(dyncode_filename)