Makefile.in: Fix generation of web pages
authorAndre <maan@p133.(none)>
Thu, 20 Apr 2006 19:37:54 +0000 (21:37 +0200)
committerAndre <maan@p133.(none)>
Thu, 20 Apr 2006 19:37:54 +0000 (21:37 +0200)
Makefile.in

index c65c2d8..06cc15b 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 \
@@ -240,8 +240,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 +259,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