[PATCH wayland 2/4] doc: do not rebuild man pages if they are up to date
Pekka Paalanen
ppaalanen at gmail.com
Mon Mar 10 05:03:58 PDT 2014
From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
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 at collabora.co.uk>
---
doc/doxygen/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 078506d..9870b01 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -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/
--
1.8.3.2
More information about the wayland-devel
mailing list