configure.ac: Fix mysql configuration
[paraslash.git] / Makefile.in
index c65c2d81ccb82b87fd08e9f84d2abd2a9fffe8a1..776f3cec90ba76eb428a51bec1ff8b656e9be650 100644 (file)
@@ -91,7 +91,7 @@ tarball_add := $(gengetopts_c) $(gengetopts_h) $(autocrap)
 
 .PHONY: clean distclean maintainer-clean install html www tags ChangeLog doxygen
 all: $(BINARIES)
-www: $(gen_html) $(gruta_html) $(web_pics) $(web_misc) $(shots) tags doxygen
+www: $(gen_html) $(gruta_html) $(web_pics) $(web_misc) $(shots) tags doxygen doc
 
 client_objs = client.cmdline.o client.o net.o string.o crypt.o
 sdl_gui_objs = sdl_gui.cmdline.o SFont.o sdl_gui.o gui_common.o exec.o \
@@ -148,6 +148,9 @@ slider.o: slider.c
 krell.o: krell.c
        $(CC) -Wall -O -g -fPIC @GTK_CFLAGS@ -c -o $@ krell.c
 
+mysql_selector.o: mysql_selector.c
+       $(CC)  -Wall -O -g @mysql_cppflags@ -c -o $@ $<
+
 %.cmdline.o: %.cmdline.c
        $(CC) -c $(CPPFLAGS) $<
 %.o: %.c
@@ -240,8 +243,8 @@ web/header2.html: web/header.html
 doxygen: web/header2.html
        mkdir -p web/sync/doxygen
        doxygen
-web/sync/doc/man:
-       mkdir -p $@
+web/sync/doc: doc
+       cp -a $< $@
 web/sync/doxygen:
        mkdir -p $@
 web/sync/%.html: web/%.in.html web/header.html web/footer.html web/sync
@@ -259,7 +262,7 @@ web/sync/versions/paraslash-git.tar.bz2: paraslash-git.tar.bz2 web/sync
 web/sync/overview.pdf: skencil/overview.pdf web/sync
        cp $< $@
 web/sync/%: %
-       cp $< $@
+       cp -a $< $@
 web/sync/%: pics/screenshots/%
        cp $< $@
 skencil/%.ps: skencil/%.sk