Makefile (513B)
1 PACKAGE=chainlib 2 PREFIX ?= /usr/local 3 BUILD_DIR = man/build/ 4 5 build: 6 python setup.py bdist_wheel 7 8 .PHONY clean: 9 rm -rf build 10 rm -rf dist 11 rm -rf $(PACKAGE).egg-info 12 13 .PHONY dist: man clean build 14 15 .PHONY: man 16 17 man: 18 mkdir -vp $(BUILD_DIR) 19 #./scripts/chainlib-man.py -v -n chainlib-gen -d $(BUILD_DIR)/ man 20 cp -v man/chainlib-gen.groff man/build/chainlib-gen.1 21 22 readme: 23 make -C doc/texinfo readme 24 pandoc -f docbook -t gfm doc/texinfo/build/docbook.xml > README.md 25 26 python: build 27 28 doc: 29 make -C doc/texinfo 30 31