You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 1.1 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. all:
  2. ifeq ($(INSIDE_EMACS), t)
  3. @make test
  4. else
  5. @echo "Try 'make install'"
  6. endif
  7. test:
  8. -@make install >/dev/null 2>&1
  9. nilmtool -u "http://localhost/nilmdb" remove /test/foo -s min -e max
  10. python src/sinefit.py \
  11. -u "http://localhost/nilmdb" -c 4 \
  12. /lees-compressor/no-leak/raw/1 /test/foo
  13. test2:
  14. -@nilmtool destroy /lees-compressor/no-leak/raw/4 || true
  15. -@nilmtool destroy /lees-compressor/no-leak/raw/16 || true
  16. -@nilmtool create /lees-compressor/no-leak/raw/4 float32_18 || true
  17. -@nilmtool create /lees-compressor/no-leak/raw/16 float32_18 || true
  18. time python src/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/1 /lees-compressor/no-leak/raw/4
  19. python src/decimate.py -s '2013-02-04 18:10:00' -e '2013-02-04 18:11:00' /lees-compressor/no-leak/raw/4 /lees-compressor/no-leak/raw/16
  20. version:
  21. python setup.py version
  22. dist: sdist
  23. sdist:
  24. python setup.py sdist
  25. install:
  26. python setup.py install
  27. develop:
  28. python setup.py develop
  29. clean::
  30. find . -name '*pyc' | xargs rm -f
  31. rm -rf nilmtools.egg-info/ build/ MANIFEST.in
  32. gitclean::
  33. git clean -dXf
  34. .PHONY: all version dist sdist install clean gitclean