1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2025-11-25 23:06:55 +01:00
lodel2_mirror/Makefile

21 lines
415 B
Makefile

all: check doc pip
check:
python -m unittest -v
doc: cleandoc
doxygen
pip: cleanpycache
pip install --upgrade -r requirements.txt
.PHONY: check doc clean cleanpyc cleandoc cleanpycache
cleandoc:
-rm -Rfv ./doc/
cleanpyc:
-find ./ |grep -E "\.pyc$$" |xargs rm -fv 2>/dev/null
cleanpycache: cleanpyc
-find ./ -type d |grep '__pycache__' | xargs rmdir -fv 2>/dev/null
clean: cleanpyc cleandoc cleanpycache