mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
9a73b2d621
This matches what Mercurial has, so I figure we may as well be consistent.
26 lines
599 B
Makefile
26 lines
599 B
Makefile
PYTHON=python
|
|
|
|
.PHONY: tests
|
|
|
|
help:
|
|
@echo 'Commonly used make targets:'
|
|
@echo ' local - build for inplace use'
|
|
@echo ' install - install program'
|
|
@echo ' clean - remove files created by other targets'
|
|
@echo ' (except installed files or dist source tarball)'
|
|
|
|
local:
|
|
$(PYTHON) setup.py \
|
|
build_py -c -d . \
|
|
build_ext -i
|
|
|
|
install:
|
|
$(PYTHON) setup.py $(PURE) install --force
|
|
|
|
clean:
|
|
-$(PYTHON) setup.py clean --all # ignore errors from this command
|
|
find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
|
|
|
|
deb:
|
|
contrib/builddeb
|