CPPFLAGS += -I$(cmdline_dir)
CPPFLAGS += @osl_cppflags@
-man_pages := $(patsubst %, man/man1/%.1, @executables@)
+man_pages := $(patsubst %, $(man_dir)/%.1, @executables@)
autocrap := config.h.in configure
tarball_pfx := @PACKAGE_TARNAME@-$(PACKAGE_VERSION)
audiod_command_list.h audiod_command_list.man audiod_completion.h: audiod_command.c
server_command_lists_man = server_command_list.man afs_command_list.man
-man/man1/para_server.1: para_server $(server_command_lists_man) | $(man_dir)
+$(man_dir)/para_server.1: para_server $(server_command_lists_man) | $(man_dir)
@[ -z "$(Q)" ] || echo 'MAN $<'
$(Q) opts="-h --detailed-help -N `for i in $(server_command_lists_man); do printf "%s\n" "-i $$i"; done`"; \
$(HELP2MAN) $$opts ./para_server > $@
-man/man1/para_audiod.1: para_audiod audiod_command_list.man | $(man_dir)
+$(man_dir)/para_audiod.1: para_audiod audiod_command_list.man | $(man_dir)
@[ -z "$(Q)" ] || echo 'MAN $<'
$(Q) $(HELP2MAN) -h --detailed-help -N -i audiod_command_list.man ./para_audiod > $@
-man/man1/%.1: % | $(man_dir)
+$(man_dir)/%.1: % | $(man_dir)
@[ -z "$(Q)" ] || echo 'MAN $<'
$(Q) $(HELP2MAN) -h --detailed-help -N ./$< > $@
clean2: clean
@[ -z "$(Q)" ] || echo 'CLEAN2'
- $(Q) rm -rf man $(object_dir) $(cmdline_dir) $(ggo_dir)
+ $(Q) rm -rf $(man_dir) $(object_dir) $(cmdline_dir) $(ggo_dir)
$(Q) rm -f *_command_list.* *_completion.h
distclean: clean2 test-clean
@[ -z "$(Q)" ] || echo 'DISTCLEAN'