summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2014-12-09 17:01:11 -0800
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-12-16 17:05:23 +0200
commit0b788154da926c635ca48628f46fac1d3c9eb5ca (patch)
tree315ea6b3b7ff8bf88eeb3d93c1f052f2b3e926e0 /doc
parent163ce87cd732702328f76d20f24099041bb119ec (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/doxygen/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/doxygen/Makefile.am b/doc/doxygen/Makefile.am
index 7276f5c..8d563f4 100644
--- a/doc/doxygen/Makefile.am
+++ b/doc/doxygen/Makefile.am
@@ -17,6 +17,11 @@ scanned_src_files_server = \
$(top_srcdir)/src/wayland-server.h \
$(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
# for this to work, we need to create them before the man target (hence
# 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)"; \
) | $(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; \
echo "GENERATE_MAN=YES"; \
echo "MAN_OUTPUT=man"; \
echo "JAVADOC_AUTOBRIEF=NO"; \
- echo "INPUT= $^"; \
+ echo "INPUT= $(scanned_src_files_man)"; \
) | $(DOXYGEN) -
# general rule to create one of the listed directories.