This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
BUILD_DIR = build/lib.* |
| 2 |
CLEAN_BUILD = if [ -d build ]; then rm -r build; fi; |
| 3 |
CLEAN_DIST = if [ -d dist ]; then rm -r dist; fi; if [ -f MANIFEST ]; then rm MANIFEST; fi; |
| 4 |
CLEAN = $(CLEAN_BUILD) $(CLEAN_DIST) |
| 5 |
BUILD = $(CLEAN) ./setup.py build |
| 6 |
TEST = test |
| 7 |
|
| 8 |
pypbc: |
| 9 |
$(BUILD) |
| 10 |
|
| 11 |
dist: |
| 12 |
$(BUILD) sdist |
| 13 |
$(CLEAN) |
| 14 |
|
| 15 |
play: |
| 16 |
$(BUILD) |
| 17 |
cd $(BUILD_DIR); python3 -i -c "from pypbc import *; from KSW import *" |
| 18 |
$(CLEAN) |
| 19 |
|
| 20 |
test: |
| 21 |
$(BUILD) |
| 22 |
chmod +x $(BUILD_DIR)/test.py |
| 23 |
$(BUILD_DIR)/test.py -v |
| 24 |
python3 $(BUILD_DIR)/KSW.py |
| 25 |
$(CLEAN) |
| 26 |
|
| 27 |
commit: |
| 28 |
$(MAKE) $(TEST) |
| 29 |
rm *~ 2> /dev/null |
| 30 |
git add . |
| 31 |
git commit |
| 32 |
git push origin master |
| 33 |
|
| 34 |
install: |
| 35 |
$(BUILD) install |
| 36 |
$(MAKE) $(TEST) |
| 37 |
$(CLEAN) |
| 38 |
|
| 39 |
clean: |
| 40 |
$(CLEAN) |