Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (18 sloc) 417 Bytes
PYTHON = /usr/bin/python
SETUP = $(PYTHON) setup.py
DESTDIR = /
PREFIX = /usr
INSTALL_OPTS = --root "$(DESTDIR)" --prefix "$(PREFIX)"
.PHONY: default install test clean
default:
$(SETUP) build
install:
$(SETUP) install $(INSTALL_OPTS)
test:
make -C examples/dot test && \
make -C examples/json test && \
make -C doc test
clean:
$(SETUP) clean
rm -fr build dist MANIFEST
find -name '*.pyc' | xargs rm -f
Something went wrong with that request. Please try again.