man: improve install
Avoid using `ls` to get the file list as its behavior can be changed by env vars. Using shell globs instead should be much more stable. Also check the exit value of the install command itself and abort if we fail to install a man page.
Showing with 3 additions and 4 deletions