nilmdb/Makefile

37 lines
546 B
Makefile
Raw Permalink Normal View History

# By default, run the tests.
all: test
2013-02-05 18:49:07 -05:00
version:
python setup.py version
build:
python setup.py build_ext --inplace
dist: sdist
sdist:
python setup.py sdist
install:
python setup.py install
docs:
make -C docs
lint:
pylint --rcfile=.pylintrc nilmdb
test:
python tests/runtests.py
clean::
find . -name '*pyc' | xargs rm -f
rm -f .coverage
rm -rf tests/*testdb*
rm -rf nilmdb.egg-info/ build/ nilmdb/server/*.so MANIFEST.in
make -C docs clean
2013-02-04 22:15:12 -05:00
gitclean::
git clean -dXf
.PHONY: all build dist sdist install docs lint test clean