mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-26 06:59:58 -05:00
doc: rename Procotol to ProtocolSpec and WaylandProtocol to Protocol
The former is the actual specification, the latter notes about the protocol. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
adf300dc13
commit
966e8ec9c0
4 changed files with 30 additions and 30 deletions
|
|
@ -8,7 +8,7 @@ publican_sources = \
|
|||
$(srcdir)/en_US/Author_Group.xml \
|
||||
$(srcdir)/en_US/Book_Info.xml \
|
||||
$(srcdir)/en_US/Wayland.xml \
|
||||
$(srcdir)/en_US/WaylandProtocol.xml \
|
||||
$(srcdir)/en_US/Protocol.xml \
|
||||
$(srcdir)/en_US/Compositors.xml \
|
||||
$(srcdir)/en_US/Overview.xml \
|
||||
$(srcdir)/en_US/images/icon.svg \
|
||||
|
|
@ -17,18 +17,18 @@ publican_sources = \
|
|||
$(srcdir)/en_US/images/x-architecture.png
|
||||
|
||||
publican_targets = $(publican_sources:$(srcdir)/en_US%=$(builddir)/en-US%) \
|
||||
en-US/Protocol.xml
|
||||
en-US/ProtocolSpec.xml
|
||||
|
||||
# The Protocol.xml is purely generated and required before running publican
|
||||
en-US/Protocol.xml: $(top_srcdir)/protocol/wayland.xml $(srcdir)/protocol-to-docbook.xsl
|
||||
en-US/ProtocolSpec.xml: $(top_srcdir)/protocol/wayland.xml $(srcdir)/protocol-to-docbook.xsl
|
||||
$(AM_V_GEN)$(MKDIR_P) en-US/images
|
||||
$(AM_V_GEN)$(XSLTPROC) $(srcdir)/protocol-to-docbook.xsl \
|
||||
$(top_srcdir)/protocol/wayland.xml > en-US/Protocol.xml
|
||||
$(top_srcdir)/protocol/wayland.xml > en-US/ProtocolSpec.xml
|
||||
|
||||
# Copy the en_US source files into en-US destination
|
||||
# This is required for out-of-source-tree build as publican does not allow us
|
||||
# to specify the location of the source code.
|
||||
$(builddir)/en-US/%: $(srcdir)/en_US/% en-US/Protocol.xml $(publican_sources)
|
||||
$(builddir)/en-US/%: $(srcdir)/en_US/% en-US/ProtocolSpec.xml $(publican_sources)
|
||||
$(AM_V_GEN)cp -f $< $@
|
||||
|
||||
# Run publican for the builddir on the generated (or copied) source
|
||||
|
|
@ -37,7 +37,7 @@ Wayland: $(publican_targets)
|
|||
$(AM_V_GEN)$(PUBLICAN) build --lang en-US --format html,pdf \
|
||||
--config $(srcdir)/publican.cfg
|
||||
|
||||
CLEANFILES = en-US/Protocol.xml $(publican_targets)
|
||||
CLEANFILES = en-US/ProtocolSpec.xml $(publican_targets)
|
||||
|
||||
clean-local:
|
||||
$(AM_V_at)rm -fr en-US
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue