2012-10-11 17:42:09 +03:00
|
|
|
|
2013-04-04 11:28:58 +10:00
|
|
|
noinst_DATA = xml/client/index.xml xml/server/index.xml
|
2012-10-11 17:42:09 +03:00
|
|
|
dist_noinst_DATA = wayland.doxygen.in
|
|
|
|
|
|
2013-09-15 13:37:09 -05:00
|
|
|
scanned_src_files_shared = \
|
|
|
|
|
$(top_srcdir)/src/wayland-util.c \
|
|
|
|
|
$(top_srcdir)/src/wayland-util.h
|
|
|
|
|
|
2013-04-02 11:08:59 +10:00
|
|
|
scanned_src_files_client = \
|
2013-09-15 13:37:09 -05:00
|
|
|
$(scanned_src_files_shared) \
|
2012-10-19 15:30:26 +03:00
|
|
|
$(top_srcdir)/src/wayland-client.c \
|
|
|
|
|
$(top_srcdir)/src/wayland-client.h
|
|
|
|
|
|
2013-04-02 11:08:59 +10:00
|
|
|
scanned_src_files_server = \
|
2013-09-15 13:37:09 -05:00
|
|
|
$(scanned_src_files_shared) \
|
2013-04-02 11:08:59 +10:00
|
|
|
$(top_srcdir)/src/wayland-server.c \
|
2013-11-14 12:28:51 +00:00
|
|
|
$(top_srcdir)/src/wayland-server.h \
|
|
|
|
|
$(top_srcdir)/src/wayland-shm.c
|
2013-04-02 11:08:59 +10:00
|
|
|
|
2013-04-04 11:29:01 +10:00
|
|
|
# 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)
|
2014-07-21 19:23:49 +00:00
|
|
|
dist_man3_MANS = $(shell test -d man && find man/man3 -name "wl_*.3" -printf "man/man3/%P\n")
|
2013-04-02 11:08:59 +10:00
|
|
|
|
2013-04-04 11:28:58 +10:00
|
|
|
xml/client/index.xml: $(scanned_src_files_client) wayland.doxygen
|
2014-03-10 14:03:59 +02:00
|
|
|
$(AM_V_GEN)$(MKDIR_P) xml/client && \
|
2013-04-04 11:28:58 +10:00
|
|
|
(cat wayland.doxygen; \
|
|
|
|
|
echo "GENERATE_XML=YES"; \
|
|
|
|
|
echo "XML_OUTPUT=xml/client"; \
|
|
|
|
|
echo "INPUT= $(scanned_src_files_client)"; \
|
|
|
|
|
) | doxygen -
|
|
|
|
|
xml/server/index.xml: $(scanned_src_files_server) wayland.doxygen
|
2014-03-10 14:03:59 +02:00
|
|
|
$(AM_V_GEN)$(MKDIR_P) xml/server && \
|
2013-04-04 11:28:58 +10:00
|
|
|
(cat wayland.doxygen; \
|
|
|
|
|
echo "GENERATE_XML=YES"; \
|
|
|
|
|
echo "XML_OUTPUT=xml/server"; \
|
|
|
|
|
echo "INPUT= $(scanned_src_files_server)"; \
|
|
|
|
|
) | doxygen -
|
2012-10-11 17:42:09 +03:00
|
|
|
|
2014-03-10 14:03:58 +02:00
|
|
|
man/man3/wl_display.3: $(scanned_src_files_client) $(scanned_src_files_server)
|
2014-03-10 14:03:59 +02:00
|
|
|
$(AM_V_GEN)(cat wayland.doxygen; \
|
2013-04-02 11:08:59 +10:00
|
|
|
echo "GENERATE_MAN=YES"; \
|
|
|
|
|
echo "MAN_OUTPUT=man"; \
|
|
|
|
|
echo "JAVADOC_AUTOBRIEF=NO"; \
|
|
|
|
|
echo "INPUT= $^"; \
|
|
|
|
|
) | doxygen -
|
|
|
|
|
|
2013-04-04 11:29:01 +10:00
|
|
|
# there is no man-local
|
2014-03-10 14:03:58 +02:00
|
|
|
all-local: man/man3/wl_display.3
|
2013-04-02 11:08:59 +10:00
|
|
|
|
2012-10-11 17:42:09 +03:00
|
|
|
clean-local:
|
|
|
|
|
rm -rf xml/
|
2013-04-02 11:08:59 +10:00
|
|
|
rm -rf man/
|