mirror of
https://github.com/facebook/sapling.git
synced 2024-12-29 08:02:24 +03:00
merge Makefile contents
Test Plan: make local Reviewers: #mercurial, ttung, simonfar Reviewed By: simonfar Subscribers: simonfar, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3777379 Tasks: 12855049 Signature: t1:3777379:1472217558:ec79a66e76854d1d80f6b17c82be6d597e7884cc
This commit is contained in:
parent
4dcd53a07d
commit
59ab0f3dbb
3
Makefile
3
Makefile
@ -22,3 +22,6 @@ install:
|
||||
clean:
|
||||
-$(PYTHON) setup.py clean --all # ignore errors from this command
|
||||
find . \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
|
||||
|
||||
deb:
|
||||
contrib/builddeb
|
||||
|
@ -1,25 +0,0 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user