default: | |
PREFIX=/ | |
BINDIR=$(DESTDIR)$(PREFIX)/bin | |
PYTHON?=python | |
all: | |
install: | |
mkdir -p $(BINDIR) | |
cp tvstat.py $(BINDIR)/tvstat | |
install-libs: | |
@echo "No libs to install." | |
test: | |
set -e; \ | |
for d in $(wildcard *_test.py); do \ | |
$(PYTHON) $$d; \ | |
done | |
clean: | |
rm -f *~ |