In a software I have to tweak, the man
file is located under doc/
along with a simple Makefile.am
file:
man_MANS = software.1
EXTRA_DIST = $(man_MANS)
Upon installation, I expect make install
to copy the manual under /usr/local/share/man/
, but the script - instead - will try to install the man under /usr/local/share/man/man1
- which does not exist - throwing an error and stopping the process.
I would expect a similar behavior if I assigned software.1
to man1_MANS, though.
What is going on ? How is this possible that automake does not create non-existing folders ?