From: Andre Noll Date: Wed, 31 Jan 2007 10:44:46 +0000 (+0100) Subject: make man dirs before calling help2man and friends X-Git-Tag: v0.2.15~28^2~4 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=01abb81034eed7a0ed65667ebfead9b32a5c7ba0;ds=sidebyside make man dirs before calling help2man and friends Also, make sure we call help2man on the executables in the current dir. --- diff --git a/Makefile.in b/Makefile.in index cf1a9a64..39e926e7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -158,16 +158,20 @@ grab_client.cmdline.h grab_client.cmdline.c: grab_client.ggo 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 $< > $@