X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=Makefile.in;h=23ceda47a1db0cb2460c2656c4bcbd89cdbbd165;hp=3f4e1651a5ffdd147d1f55d5665f4b0b35ef2a22;hb=7652c049f40d0830c6e51dc92d1771a7aa0bc99c;hpb=1059e01cf4b984c1eea27f94291382e8977f1b51 diff --git a/Makefile.in b/Makefile.in index 3f4e1651..23ceda47 100644 --- a/Makefile.in +++ b/Makefile.in @@ -11,11 +11,14 @@ install_sh := @install_sh@ cmdline_dir := @cmdline_dir@ executables := @executables@ +GENGETOPT := @gengetopt@ +HELP2MAN := @help2man@ + build_date := $(shell date) uname_s := $(shell uname -s 2>/dev/null || echo "UNKNOWN_OS") uname_rs := $(shell uname -rs) cc_version := $(shell $(CC) --version | head -n 1) -codename := nested assignment +codename := hybrid causality GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) @@ -63,7 +66,6 @@ CPPFLAGS += -I$(cmdline_dir) CPPFLAGS += @osl_cppflags@ man_pages := $(patsubst %, man/man1/%.1, @executables@) -man_pages_in := $(patsubst %, web/%.man.in.html, @executables@) ggo_dir := ggo object_dir := objects @@ -117,21 +119,19 @@ tarball: $(tarball) @[ -z "$(Q)" ] || echo 'GEN $@' $(Q) ./command_util.sh man < $< > $@ -server_command_lists_ch = server_command_list.c afs_command_list.c \ - server_command_list.h afs_command_list.h 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) - @[ -z "$(Q)" ] || echo 'HELP2MAN $<' + @[ -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 > $@ + $(HELP2MAN) $$opts ./para_server > $@ man/man1/para_audiod.1: para_audiod audiod_command_list.man | $(man_dir) - @[ -z "$(Q)" ] || echo 'HELP2MAN $<' - $(Q) help2man -h --detailed-help -N -i audiod_command_list.man ./para_audiod > $@ + @[ -z "$(Q)" ] || echo 'MAN $<' + $(Q) $(HELP2MAN) -h --detailed-help -N -i audiod_command_list.man ./para_audiod > $@ man/man1/%.1: % | $(man_dir) - @[ -z "$(Q)" ] || echo 'HELP2MAN $<' - $(Q) help2man -h --detailed-help -N ./$< > $@ + @[ -z "$(Q)" ] || echo 'MAN $<' + $(Q) $(HELP2MAN) -h --detailed-help -N ./$< > $@ man/html/%.html: man/man1/%.1 @[ -z "$(Q)" ] || echo 'MAN2HTML $<' @@ -252,7 +252,7 @@ para_gui: $(gui_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(gui_objs) -lcurses -para_audiod: audiod_command_list.c audiod_command_list.h $(audiod_objs) +para_audiod: $(audiod_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(audiod_objs) @audiod_ldflags@ @@ -264,7 +264,7 @@ para_fade: $(fade_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(fade_objs) @fade_ldflags@ -para_server: $(server_command_lists_ch) $(server_objs) +para_server: $(server_objs) @[ -z "$(Q)" ] || echo 'LD $@' $(Q) $(CC) $(LDFLAGS) -o $@ $(server_objs) @server_ldflags@