You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the Makefile's use of a pipe to generate mons.1.gz, if help2man is not installed locally then the build apparently succeeds but generates an empty manpage:
$ rm mons.1.gz
$ make mons.1.gz
help2man -N -n "POSIX Shell script to quickly manage 2-monitors display." -h -h -v -v ./mons.sh | gzip - > mons.1.gz
/bin/sh: 1: help2man: not found
$ echo $?
0
$ ls -l mons.1.gz
-rw-rw-r-- 1 tom tom 20 Sep 4 15:08 mons.1.gz
Due to the Makefile's use of a pipe to generate mons.1.gz, if help2man is not installed locally then the build apparently succeeds but generates an empty manpage:
I fixed this by adding a check for help2man:
This then causes the build to fail in a more obvious fashion if help2man is not installed:
The text was updated successfully, but these errors were encountered: