mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
doc: fix doxygen->man command line
It was telling it to scan the doxyfile as well as the C source, and listing some source files more than once. Reviewed-by: Bryce Harrington <b.harrington@samsung.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
163ce87cd7
commit
0b788154da
1 changed files with 7 additions and 2 deletions
|
|
@ -17,6 +17,11 @@ scanned_src_files_server = \
|
||||||
$(top_srcdir)/src/wayland-server.h \
|
$(top_srcdir)/src/wayland-server.h \
|
||||||
$(top_srcdir)/src/wayland-shm.c
|
$(top_srcdir)/src/wayland-shm.c
|
||||||
|
|
||||||
|
scanned_src_files_man = \
|
||||||
|
$(scanned_src_files_server) \
|
||||||
|
$(top_srcdir)/src/wayland-client.c \
|
||||||
|
$(top_srcdir)/src/wayland-client.h
|
||||||
|
|
||||||
# find all man/man3/wl_foo.3 pages
|
# find all man/man3/wl_foo.3 pages
|
||||||
# for this to work, we need to create them before the man target (hence
|
# for this to work, we need to create them before the man target (hence
|
||||||
# all-local below)
|
# all-local below)
|
||||||
|
|
@ -39,12 +44,12 @@ xml/server/index.xml: $(scanned_src_files_server) wayland.doxygen | xml/server
|
||||||
echo "INPUT= $(scanned_src_files_server)"; \
|
echo "INPUT= $(scanned_src_files_server)"; \
|
||||||
) | $(DOXYGEN) -
|
) | $(DOXYGEN) -
|
||||||
|
|
||||||
man/man3/wl_display.3: $(scanned_src_files_client) $(scanned_src_files_server) wayland.doxygen | man/man3
|
man/man3/wl_display.3: $(scanned_src_files_man) wayland.doxygen | man/man3
|
||||||
$(AM_V_GEN)(cat wayland.doxygen; \
|
$(AM_V_GEN)(cat wayland.doxygen; \
|
||||||
echo "GENERATE_MAN=YES"; \
|
echo "GENERATE_MAN=YES"; \
|
||||||
echo "MAN_OUTPUT=man"; \
|
echo "MAN_OUTPUT=man"; \
|
||||||
echo "JAVADOC_AUTOBRIEF=NO"; \
|
echo "JAVADOC_AUTOBRIEF=NO"; \
|
||||||
echo "INPUT= $^"; \
|
echo "INPUT= $(scanned_src_files_man)"; \
|
||||||
) | $(DOXYGEN) -
|
) | $(DOXYGEN) -
|
||||||
|
|
||||||
# general rule to create one of the listed directories.
|
# general rule to create one of the listed directories.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue