From 2ee1eab934847af3f1ea6552efffe79f461cd00d Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 27 Sep 2016 13:30:13 +0100 Subject: [PATCH] Makefile: use build instead of bdist to compile; build wheel as well as sdist in `dist` target; use `pip install` instead of `setup.py install`; add `clean` and `uninstall` targets; define .PHONY targets --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index f31bcd9a6..bd91d7f95 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,22 @@ all: - ./setup.py bdist + ./setup.py build dist: - ./setup.py sdist + ./setup.py sdist bdist_wheel install: - ./setup.py install + pip install --ignore-installed . install-user: - ./setup.py install --user + pip install --ignore-installed --user . + +uninstall: + pip uninstall --yes fonttools check: all ./run-tests.sh + +clean: + ./setup.py clean --all + +.PHONY: all dist install install-user uninstall check clean