VirtualBox

Changeset 93806 in vbox for trunk/doc/manual


Ignore:
Timestamp:
Feb 16, 2022 7:42:40 PM (3 years ago)
Author:
vboxsync
Message:

doc/manual: Turn VBOX_XML_XREF_TO_TEXT into file name only, making it useful again.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/Config.kmk

    r93805 r93806  
    126126
    127127
    128 # Location of the generate stylesheet for transformating xref elements into
     128# File name of the generated stylesheet for transforming xref elements into
    129129# name user manual sections.
    130 VBOX_XML_XREF_TO_TEXT      = $(VBOX_PATH_MANUAL_OUTBASE)/xref-to-text.xsl
     130VBOX_XML_XREF_TO_TEXT      = xref-to-text.xsl
    131131
    132132##
     
    144144                $(3) \
    145145                $$(VBOX_PATH_MANUAL_SRC)/docbook-refentry-to-manpage-preprocessing.xsl \
    146                 $(if $(4), $$(VBOX_PATH_MANUAL_OUTBASE)/$(5)/xref-to-text.xsl,) \
     146                $(if $(4), $$(VBOX_PATH_MANUAL_OUTBASE)/$(5)/,$$(VBOX_XML_XREF_TO_TEXT)) \
    147147                $$(VBOX_XML_CATALOG) $$(VBOX_XML_CATALOG_DOCBOOK) $$(VBOX_XML_CATALOG_MANUAL) \
    148148                $$(VBOX_VERSION_STAMP) | $$$$(dir $$$$@)
     
    153153ifneq ($(4),)
    154154        $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT) --output [email protected] \
    155                 $$(VBOX_PATH_MANUAL_OUTBASE)/$(5)/xref-to-text.xsl $$@
     155                $$(VBOX_PATH_MANUAL_OUTBASE)/$(5)/$$(VBOX_XML_XREF_TO_TEXT) $$@
    156156        $$(QUIET)$$(MV) -f -- "[email protected]" "$$@"
    157157endif
     
    341341# @param    1   Language code.
    342342define def_vbox_xref_to_text
    343 $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/xref-to-text.xsl \
    344 + $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/xref-to-text.xsl.cat: \
     343$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT) \
     344+ $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat: \
    345345                $$(VBOX_PATH_MANUAL_SRC)/$(1)/docbook-refentry-link-replacement-xsl-gen.xsl \
    346346                $$(VBOX_PATH_MANUAL_SRC)/docbook-refentry-link-replacement-xsl-gen.xsl \
     
    350350               | $$$$(dir $$$$@)
    351351        $$(call MSG_L1,Creating stylesheet $$@)
    352         $$(QUIET)$$(APPEND) -nt "$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/xref-to-text.xsl.cat" \
     352        $$(QUIET)$$(APPEND) -nt "$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat" \
    353353                '<?xml version="1.0"?>' \
    354354                '<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">' \
     
    358358                '  <nextCatalog catalog="file://$$(VBOX_FILE_URL_MAYBE_SLASH)$$(VBOX_XML_CATALOG)"/>' \
    359359                '</catalog>'
    360         $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT, -E "XML_CATALOG_FILES=$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/xref-to-text.xsl.cat") \
     360        $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT, -E "XML_CATALOG_FILES=$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat") \
    361361                --stringparam 'g_sMode' 'first' --output "$$@" "$$<" $$(filter %UserManual.xml,$$^)
    362362        # Using en-US version as section and chapter names until user manual is translated as well
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette