doc: do not rebuild man pages if they are up to date

The doxygen.man make target was not a real file that was generated,
therefore the man page rule was ran on every make invocation. Replace it
with a real file that is produced by the man page rule.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Pekka Paalanen 2014-03-10 14:03:58 +02:00 committed by Kristian Høgsberg
parent d533839735
commit 538ee6bed6

View File

@ -37,7 +37,7 @@ xml/server/index.xml: $(scanned_src_files_server) wayland.doxygen
echo "INPUT= $(scanned_src_files_server)"; \
) | doxygen -
doxygen.man: $(scanned_src_files_client) $(scanned_src_files_server)
man/man3/wl_display.3: $(scanned_src_files_client) $(scanned_src_files_server)
(cat wayland.doxygen; \
echo "GENERATE_MAN=YES"; \
echo "MAN_OUTPUT=man"; \
@ -46,7 +46,7 @@ doxygen.man: $(scanned_src_files_client) $(scanned_src_files_server)
) | doxygen -
# there is no man-local
all-local: doxygen.man
all-local: man/man3/wl_display.3
clean-local:
rm -rf xml/