Also, make sure we call help2man on the executables in the
current dir.
server_command_lists = server_command_list.man random_selector_command_list.man \
playlist_selector_command_list.man mysql_selector_command_list.man
man/man1/para_server.1: para_server $(server_command_lists)
+ mkdir -p man/man1
opts="-N `for i in $(server_command_lists); do echo "-i $$i"; done`"; \
help2man $$opts ./para_server > $@
man/man1/para_audiod.1: para_audiod audiod_command_list.man
+ mkdir -p man/man1
help2man -N -i audiod_command_list.man ./para_audiod > $@
man/man1/%.1: %
- help2man -N $< > $@
+ mkdir -p man/man1
+ help2man -N ./$< > $@
man/html/%.html: man/man1/%.1
+ mkdir -p man/html
man2html $< > $@