VirtualBox

Changeset 99021 in vbox for trunk/doc/manual/Config.kmk


Ignore:
Timestamp:
Mar 17, 2023 5:04:47 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156379
Message:

manual: Updated docs for xref-to-text.xsl rule and removed a temporary file it now uses. bugref:10302

File:
1 edited

Legend:

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

    r99016 r99021  
    369369
    370370
    371  ## Emit rules to produce stylesheet for translating cross references (xref)
     371 ## Emit rules to produce a stylesheet for translating cross references (xref)
    372372 # to user manual chapters and sections in the man pages and --help output.
    373373 #
    374  # Note! This requires processing UserManual.xml as a single document in order
    375  #       to get the correct chapter and section numbering, so we use a catalog
    376  #       file to replace the generated XML documents it includes with a dummy
    377  #       one.  This reduces the dependencies and recipies we require to build
    378  #       VBoxManage and the RTIsoMaker (w/ derivatives).
     374 # Note! This is a bit hackish, as it only processes the checked in .dita files
     375 #       and not the processed result nor stuff we generated.  Seems like all
     376 #       we generate is manpage related pages, so that's fine since these are
     377 #       all currently at the tail of one chapter in the manual.
     378 #
     379 #       If it turns out we generate more stuff that this, we're in for lots of
     380 #       dependency fun with VBoxManage and the RTIsoMaker (+ derivatives).
     381 #
    379382 # $(evalcall2 def_vbox_xref_to_text)
    380383 # @param    1   Language code.
     
    403406        $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT,,$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat) \
    404407                --output "[email protected]" "$$(VBOX_PATH_MANUAL_SRC)/ditamap-to-single-xml.xsl" $$(filter %.ditamap,$$^)
    405   #     $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT,,$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat) \
    406 #               --path "$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/topics" \
    407 #               --path "$(VBOX_DITA_ORIGINAL_PATH)/dtd/bookmap/dtd" \
    408 #               --path "$(VBOX_DITA_ORIGINAL_PATH)/dtd/technicalContent/dtd" \
    409 #               --output "[email protected]" "$$(VBOX_PATH_MANUAL_SRC)/ditamap-to-single-xml.xsl" "[email protected]"
     408  if 0 # Enable to see the full combined document.
     409        $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT,,$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat) \
     410                --path "$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/topics" \
     411                --path "$(VBOX_DITA_ORIGINAL_PATH)/dtd/bookmap/dtd" \
     412                --path "$(VBOX_DITA_ORIGINAL_PATH)/dtd/technicalContent/dtd" \
     413                --output "[email protected]" "$$(VBOX_PATH_MANUAL_SRC)/ditamap-to-single-xml.xsl" "[email protected]"
     414  endif
    410415        $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT,,$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat) \
    411416                --path "$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/topics" \
     
    421426                        "$$<" "$$(VBOX_PATH_MANUAL_SRC)/en_US/$$(x)")
    422427        $$(QUIET)$$(APPEND) -n "$$@" '' '</xsl:stylesheet>'
     428        $$(QUIET)$$(RM) -f -- "[email protected]"
    423429
    424430  BLDDIRS += $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/
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