commit 91228b093e255c4f11c641ab597b4ceeaa810c6f
parent c3ab13d4f37ba1fc59f2259eef948ca8e5fb620f
Author: lash <dev@holbrook.no>
Date: Mon, 8 May 2023 07:53:43 +0100
Add chainlib-gen man page in package
Diffstat:
4 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/MANIFEST.in b/MANIFEST.in
@@ -1 +1 @@
-include *requirements.txt LICENSE WAIVER WAIVER.asc chainlib/data/config/* chainlib/data/env/*
+include *requirements.txt LICENSE WAIVER WAIVER.asc chainlib/data/config/* chainlib/data/env/* man/build/**
diff --git a/Makefile b/Makefile
@@ -1,4 +1,6 @@
PACKAGE=chainlib
+PREFIX ?= /usr/local
+BUILD_DIR = man/build/
build:
python setup.py bdist_wheel
@@ -8,4 +10,12 @@ build:
rm -rf dist
rm -rf $(PACKAGE).egg-info
-.PHONY dist: clean build
+.PHONY dist: man clean build
+
+.PHONY: man
+
+man:
+ mkdir -vp $(BUILD_DIR)
+ #./scripts/chainlib-man.py -v -n chainlib-gen -d $(BUILD_DIR)/ man
+ cp -v man/chainlib-gen.groff man/build/chainlib-gen.1
+
diff --git a/setup.cfg b/setup.cfg
@@ -3,7 +3,7 @@ name=chainlib
license=AGPLv3+
author_email=dev@holbrook.no
description=Generic blockchain access library and tooling
-version=0.4.13
+version=0.4.14
url=https://git.defalsify.org/chainlib
author=Louis Holbrook
diff --git a/setup.py b/setup.py
@@ -28,4 +28,5 @@ setup(
scripts = [
'scripts/chainlib-man.py',
],
+ data_files=[("man/man1", ['man/build/chainlib-gen.1'],)],
)