man page #680
freevryheid
started this conversation in
Ideas
man page
#680
Replies: 2 comments
-
Nice. To go one more step, ... #!/bin/bash
#@(#) fpmman(1) - rebuild fpm(1) man-pages using txt2man(1)
mkdir -p ~/.local/man/man1
for NAME in fpm new update build run test runner install list help clean
do
fpm help $NAME 2>&1 | txt2man -t fpm -r fpm-0.6.0 -s 1 -v "fortran package manager" > ~/.local/share/man/man1/$NAME.1fpm
done
cd ~/.local/share/man
mandb -c .
man -s 1fpm -k .
# specifically get fpm install help
man install.1fpm
exit |
Beta Was this translation helpful? Give feedback.
0 replies
-
maybe CD/CI build should create a man/man1 directory when fpm(1) is built and put it in distribution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
You can generate your own man page for fpm using txt2man:
fpm -h 2>&1 | txt2man -t fpm -r fpm-0.6.0 -s 1 -v "fortran package manager" > ~/.local/share/man/man1/fpm.1
Beta Was this translation helpful? Give feedback.
All reactions