summaryrefslogtreecommitdiff
path: root/hooks/sendemail-validate-attestation-hook
diff options
context:
space:
mode:
authorPhilippe Blain <levraiphilippeblain@gmail.com>2020-11-12 10:21:34 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-11-17 15:59:43 -0500
commitcc6bbbeb1c824da64a59fbd1a483c780bc121c3b (patch)
tree371a929478de3e72de3ee7d4d1d6d0f2095ed283 /hooks/sendemail-validate-attestation-hook
parentdc5f193cb5db91279fbbb3a13c9e59e659afd39b (diff)
downloadb4-cc6bbbeb1c824da64a59fbd1a483c780bc121c3b.tar.gz
Distribute the manpage with the pip package
The 'data_files' option to setuptools.setup can be used to install additional files "outside" of the package [1]. Use it so that the manpage is installed with the package. Install the manpage to '$PREFIX/share/man/man5', mimicking what the Filesystem Hiararchy Standard mandates for the '/usr/local/' prefix [2]. Prefer '$PREFIX/share/man/man5' to '$PREFIX/man/man5' since the later is deprecated [3]. [1] https://docs.python.org/3/distutils/setupscript.html#installing-additional-files [2] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html#idm236091648080 [3] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html#ftn.idm236091648080 Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Diffstat (limited to 'hooks/sendemail-validate-attestation-hook')
0 files changed, 0 insertions, 0 deletions