aboutsummaryrefslogtreecommitdiff
path: root/python/Makefile
diff options
context:
space:
mode:
authorAlex Nicksay <nicksay@google.com>2017-08-02 10:59:46 -0400
committerEugene Kliuchnikov <eustas@google.com>2017-08-02 16:59:46 +0200
commit06082531107d666ba44bb4dc341970a0916ef587 (patch)
tree66279b0392bca2ae73fc5160c73665f0758324a8 /python/Makefile
parentbc541f74e11af3ae36606d7439c99c62c80afa0c (diff)
downloadbrotli-06082531107d666ba44bb4dc341970a0916ef587.zip
brotli-06082531107d666ba44bb4dc341970a0916ef587.tar.gz
brotli-06082531107d666ba44bb4dc341970a0916ef587.tar.bz2
Python: Add a "make install" command and clarify installation docs (#578)
Closes #576
Diffstat (limited to 'python/Makefile')
-rw-r--r--python/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/python/Makefile b/python/Makefile
index cdf3aac..646f330 100644
--- a/python/Makefile
+++ b/python/Makefile
@@ -4,10 +4,12 @@
# See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
-# Default
+# Default (Build)
.PHONY: all
# Build
.PHONY: build
+# Install
+.PHONY: install
# Test
.PHONY: test tests
# Clean
@@ -31,6 +33,9 @@ build: $(EXTENSIONS)
$(EXTENSIONS): $(EXT_SOURCES)
@cd .. && $(PYTHON) setup.py develop
+install:
+ @cd .. && $(PYTHON) setup.py install
+
test: tests
tests: build