mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-22 06:59:46 -05:00
Generate the docbook description for the protocol from wayland.xml
Convert the wayland.xml protocol description to a docbook-compatible format and hook it up to the publican sources. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c3d56a05c6
commit
a678fd53e1
4 changed files with 122 additions and 2 deletions
|
|
@ -17,9 +17,13 @@ publican_sources = \
|
|||
$(srcdir)/en-US/images/x-architecture.png
|
||||
|
||||
|
||||
Wayland: publican.cfg $(publican_sources)
|
||||
Wayland: docbook-xsl publican.cfg $(publican_sources)
|
||||
publican build --lang en-US --format html,pdf
|
||||
|
||||
# This must be run befor the publican run
|
||||
docbook-xsl: $(top_srcdir)/protocol/wayland.xml protocol-to-docbook.xsl
|
||||
$(AM_V_GEN)$(XSLTPROC) protocol-to-docbook.xsl $(top_srcdir)/protocol/wayland.xml > $(srcdir)/en-US/Protocol.xml
|
||||
|
||||
clean-local:
|
||||
-rm -rf Wayland
|
||||
|
||||
|
|
@ -31,5 +35,6 @@ uninstall-local:
|
|||
-rm -rf $(DESTDIR)$(docdir)/Wayland/*
|
||||
-rmdir $(DESTDIR)$(docdir)/Wayland
|
||||
|
||||
EXTRA_DIST = $(publican_sources) publican.cfg
|
||||
EXTRA_DIST = $(publican_sources) publican.cfg protocol-to-docbook.xsl
|
||||
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue