blob: 1a875eb6a38325001c3ee7b4a1b391bd375dc2b0 [file] [log] [blame]
default:
PREFIX=/
BINDIR=$(DESTDIR)$(PREFIX)/bin
PYTHON?=python
all:
install:
mkdir -p $(BINDIR)
cp jsonpoll.py $(BINDIR)/jsonpoll
install-libs:
@echo "No libs to install."
test: lint
set -e; \
for pytest in $(wildcard *_test.py); do \
echo; \
echo "Testing $$pytest"; \
$(PYTHON) $$pytest; \
done
clean:
rm -rf *.pyc
lint:
gpylint jsonpoll.py jsonpoll_test.py