mirror of
https://github.com/yweber/lodel2.git
synced 2025-10-26 09:39:01 +01:00
Add a small dirty Makefile (to make doc and dynamic code)
This commit is contained in:
parent
b4f809d9bd
commit
9676537c40
3 changed files with 30 additions and 1 deletions
30
Makefile
Normal file
30
Makefile
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
dyncode_filename='lodel/leapi/dyncode.py'
|
||||
|
||||
all: doc refresh_dyn
|
||||
|
||||
doc: cleandoc
|
||||
doxygen
|
||||
|
||||
# Test em update ( examples/em_test.pickle )
|
||||
em_test:
|
||||
python3 em_test.py
|
||||
|
||||
refresh_dyn: clean_dyn em_test
|
||||
python3 scripts/refreshdyn.py examples/em_test.pickle $(dyncode_filename)
|
||||
|
||||
|
||||
.PHONY: clean clean_dyn cleandoc cleanpyc
|
||||
|
||||
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)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue