Makefile (1399B)
1 PACKAGE=chainlib-eth 2 PREFIX ?= /usr/local 3 BUILD_DIR = man/build/ 4 5 man: 6 mkdir -vp $(BUILD_DIR) 7 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py gas` -v -n eth-gas -d $(BUILD_DIR)/ man 8 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py info` -v -n eth-info -d $(BUILD_DIR)/ man 9 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py get` -v -n eth-get -d $(BUILD_DIR)/ man 10 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py decode` -v -n eth-decode -d $(BUILD_DIR)/ man 11 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py encode` -v -n eth-encode -d $(BUILD_DIR)/ man 12 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py count` -v -n eth-count -d $(BUILD_DIR)/ man 13 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py raw` -v -n eth-raw -d $(BUILD_DIR)/ man 14 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py wait` -v -n eth-wait -d $(BUILD_DIR)/ man 15 chainlib-man.py -b `PYTHONPATH=. python chainlib/eth/runnable/flags.py balance` -v -n eth-balance -d $(BUILD_DIR)/ man 16 17 .PHONY: man 18 19 build: 20 python setup.py bdist_wheel 21 22 .PHONY clean: 23 rm -rf build 24 rm -rf dist 25 rm -rf $(PACKAGE).egg-info 26 27 readme: 28 make -C doc/texinfo readme 29 pandoc -f docbook -t gfm doc/texinfo/build/docbook.xml > README.md 30 31 python: build 32 33 doc: 34 make -C doc/texinfo 35