src/deps/miniasync/utils/docker/images/install-txt2man.sh
raw| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # SPDX-License-Identifier: BSD-3-Clause |
| 4 | # Copyright 2020-2021, Intel Corporation |
| 5 | # |
| 6 | |
| 7 | # |
| 8 | # install-txt2man.sh - installs txt2man |
| 9 | # |
| 10 | |
| 11 | set -e |
| 12 | |
| 13 | git clone https://github.com/mvertes/txt2man.git |
| 14 | cd txt2man |
| 15 | |
| 16 | # txt2man v1.7.0 |
| 17 | git checkout txt2man-1.7.0 |
| 18 | |
| 19 | make -j$(nproc) |
| 20 | sudo make -j$(nproc) install prefix=/usr |
| 21 | cd .. |
| 22 | rm -rf txt2man |