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)
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