From 01abb81034eed7a0ed65667ebfead9b32a5c7ba0 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 31 Jan 2007 11:44:46 +0100 Subject: [PATCH] make man dirs before calling help2man and friends Also, make sure we call help2man on the executables in the current dir. --- Makefile.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 $< > $@ -- 2.39.5