From c87c792127bf346a1ffa33c293be062b9ab12bc2 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 27 Jan 2007 12:37:29 +0100 Subject: [PATCH] Makefile.in: Add target man --- Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7ffc1184..480c78a8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -49,6 +49,9 @@ CPPFLAGS += -Wunused-macros CPPFLAGS += -Wshadow BINARIES = para_server para_client para_gui para_audioc para_recv para_filter para_write @extra_binaries@ +man_binaries := $(filter-out para_dbadm para_slider para_krell.so, $(BINARIES)) +man_pages := $(patsubst %, man/man1/%.1, $(man_binaries)) +man_pages_html := $(patsubst %, man/html/%.html, $(man_binaries)) FONTS := $(wildcard fonts/*.png) PICS := $(wildcard pics/paraslash/*.jpg) @@ -85,11 +88,11 @@ tarball_delete = web versions pics/screenshots pics/web .changelog_before_cvs \ tarball_delete := $(patsubst %,$(tarball_pfx)/%,$(tarball_delete)) tarball_add := $(gengetopts_c) $(gengetopts_h) $(autocrap) -.PHONY: clean distclean maintainer-clean install html www tags doxygen gruta +.PHONY: clean distclean maintainer-clean install html www tags doxygen gruta man all: $(BINARIES) www: $(gen_html) $(gruta_html) $(web_pics) $(web_misc) $(shots) tags doxygen doc gruta: $(gen_html) $(gruta_html) - +man: $(man_pages) $(man_pages_html) sdl_gui_objs = sdl_gui.cmdline.o SFont.o sdl_gui.o gui_common.o exec.o \ close_on_fork.o string.o stat.o fd.o -- 2.39.5