mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-15 08:21:47 -04:00
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:
parent
d533839735
commit
538ee6bed6
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ xml/server/index.xml: $(scanned_src_files_server) wayland.doxygen
|
||||||
echo "INPUT= $(scanned_src_files_server)"; \
|
echo "INPUT= $(scanned_src_files_server)"; \
|
||||||
) | doxygen -
|
) | 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; \
|
(cat wayland.doxygen; \
|
||||||
echo "GENERATE_MAN=YES"; \
|
echo "GENERATE_MAN=YES"; \
|
||||||
echo "MAN_OUTPUT=man"; \
|
echo "MAN_OUTPUT=man"; \
|
||||||
|
|
@ -46,7 +46,7 @@ doxygen.man: $(scanned_src_files_client) $(scanned_src_files_server)
|
||||||
) | doxygen -
|
) | doxygen -
|
||||||
|
|
||||||
# there is no man-local
|
# there is no man-local
|
||||||
all-local: doxygen.man
|
all-local: man/man3/wl_display.3
|
||||||
|
|
||||||
clean-local:
|
clean-local:
|
||||||
rm -rf xml/
|
rm -rf xml/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue