Add makefile for man

This commit is contained in:
lash
2022-02-23 13:16:04 +00:00
parent d49e3dd6ec
commit a3081367db
2 changed files with 10 additions and 1 deletions

10
Makefile Normal file
View File

@@ -0,0 +1,10 @@
PREFIX ?= /usr/local
BUILD_DIR = build/$(PREFIX)/share/man
man:
mkdir -vp $(BUILD_DIR)
chainlib-man.py -b`PYTHONPATH=. python chainlib/eth/runnable/flags.py gas` -n eth-gas -d $(BUILD_DIR)/ man/gas.head.groff
chainlib-man.py -b`PYTHONPATH=. python chainlib/eth/runnable/flags.py info` -n eth-info -d $(BUILD_DIR)/ man/info.head.groff
.PHONY: man

View File

@@ -1 +0,0 @@
WALLET_KEY_FILE foobar baz