blob: 6c20ed6f417b124eb5909fc37e5c32385458eecf [file] [log] [blame]
PYTHON?=python
all: build
test:
set -e; \
for d in $(wildcard tests/*_test.py); do \
PYTHONPATH=. $(PYTHON) $$d; \
done
PREFIX=/usr
build:
PYTHONPATH=$(TARGETPYTHONPATH) $(HOSTDIR)/usr/bin/python setup.py build
install:
PYTHONPATH=$(TARGETPYTHONPATH) $(HOSTDIR)/usr/bin/python setup.py install --prefix=$(DESTDIR)$(PREFIX)
install -D -m 755 wtax $(DESTDIR)/bin
install-libs:
@echo "No libs to install."