Changeset 99021 in vbox for trunk/doc/manual/Config.kmk
- Timestamp:
- Mar 17, 2023 5:04:47 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156379
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Config.kmk
r99016 r99021 369 369 370 370 371 ## Emit rules to produce stylesheet for translating cross references (xref)371 ## Emit rules to produce a stylesheet for translating cross references (xref) 372 372 # to user manual chapters and sections in the man pages and --help output. 373 373 # 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 # 379 382 # $(evalcall2 def_vbox_xref_to_text) 380 383 # @param 1 Language code. … … 403 406 $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT,,$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat) \ 404 407 --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 410 415 $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT,,$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/$$(VBOX_XML_XREF_TO_TEXT).cat) \ 411 416 --path "$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/topics" \ … … 421 426 "$$<" "$$(VBOX_PATH_MANUAL_SRC)/en_US/$$(x)") 422 427 $$(QUIET)$$(APPEND) -n "$$@" '' '</xsl:stylesheet>' 428 $$(QUIET)$$(RM) -f -- "[email protected]" 423 429 424 430 BLDDIRS += $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/
Note:
See TracChangeset
for help on using the changeset viewer.