Changeset 56556 in vbox for trunk/doc/manual
- Timestamp:
- Jun 19, 2015 11:16:38 AM (10 years ago)
- Location:
- trunk/doc/manual
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Makefile.kmk
r56550 r56556 453 453 ,$(eval $(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/user_ChangeLog.xml: $(VBOX_PATH_MANUAL_SRC)/user_ChangeLogImpl.xml)) 454 454 455 # intermediate step to do some variable replacement in the document 456 $(foreach lang,$(VBOX_MANUAL_LANGUAGES) \ 457 ,$(foreach file,$(filter-out user_VBoxManage.xml,$(VBOX_MANUAL_XML_FILES_INCL_CHANGELOG)) \ 458 ,$(evalcall2 def_vbox_replace_stuff_in_xml,/$(lang)/$(file),/$(lang)))) 459 460 # TODO: figure why the rule below doesn't cause kmk to rebuild the manual when a man page changes! 455 # Manual dependency for user_VBoxManage.xml. 461 456 $(foreach lang,$(VBOX_MANUAL_LANGUAGES), \ 462 457 $(eval $$(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/user_VBoxManage.xml: $(VBOX_PATH_MANUAL_SRC)/$(lang)/user_VBoxManage.xml \ … … 465 460 $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml )) 466 461 467 # user_VBoxManage.xml currently needs some extra processing to stitch in the VBoxManage usage blob. 468 $(foreach f,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$f/user_VBoxManage.xml): \ 469 $(VBOX_PATH_MANUAL_OUTBASE)/% : \ 470 $(VBOX_PATH_MANUAL_SRC)/% \ 471 $$(addprefix $$(@D)/user_,$$(filter man_VBoxManage%,$$(VBOX_MANUAL_XML_REFENTRY_FILES))) \ 472 $$(addprefix $$(@D)/overview_,$$(filter man_VBoxManage%,$$(VBOX_MANUAL_XML_REFENTRY_FILES))) \ 473 $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml \ 474 $(VBOX_XML_CATALOG) $(VBOX_XML_CATALOG_DOCBOOK) \ 475 $(VBOXMANAGEHELP_PATH) | $$(dir $$@) 476 $(call MSG_L1,Pre-processing [2] $(@F) to $@) 477 $(QUIET)$(RM) -f $@ [email protected] [email protected] 478 $(QUIET)$(REDIRECT) -wo [email protected] -E 'VBOX_LOG_FLAGS=disabled' -E 'VBOX_LOG_DEST=nofile' \ 479 $(if $(eq $(KBUILD_TARGET),darwin), -E 'DYLD_FALLBACK_LIBRARY_PATH=$(dir $(LIB_RUNTIME))') \ 480 -- \ 481 $(VBOXMANAGEHELP_PATH) --dumpopts 482 $(QUIET)$(SED) \ 483 -e ':a' \ 484 -e 'N' \ 485 -e '$(DOLLAR)!ba' \ 486 -e 's/</\<\;/g' \ 487 -e 's/>/\>\;/g' \ 488 -e 's/\n*$(DOLLAR)/<\/screen>/' \ 489 -e 's/^/<screen>/' \ 490 --output [email protected] [email protected] 491 $(QUIET)$(SED) \ 492 -e '/@VBOX_MANAGE_OUTPUT@/{' -e 'r [email protected]' -e 'd' -e '}' \ 493 \ 494 -e 's/@VBOX_VERSION_MAJOR@/$(VBOX_VERSION_MAJOR)/g' \ 495 -e 's/@VBOX_VERSION_MINOR@/$(VBOX_VERSION_MINOR)/g' \ 496 -e 's/@VBOX_VERSION_BUILD@/$(VBOX_VERSION_BUILD)/g' \ 497 -e 's/@VBOX_VERSION_STRING@/$(VBOX_VERSION_STRING)/g' \ 498 -e 's/@VBOX_VENDOR@/$(VBOX_VENDOR)/g' \ 499 -e 's/@VBOX_PRODUCT@/$(VBOX_PRODUCT)/g' \ 500 -e 's/@VBOX_C_YEAR@/$(VBOX_C_YEAR)/g' \ 501 -e 's|@VBOX_PATH_DOCBOOK@|$(VBOX_PATH_DOCBOOK)|g' \ 502 -e 's|@VBOX_PATH_MANUAL_SRC@|$(VBOX_PATH_MANUAL_SRC)|g' \ 503 --output "$@" \ 504 "$<" 505 $(QUIET)$(RM) -f [email protected] [email protected] 462 # Intermediate step to do some variable replacement in the document. 463 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(foreach file,$(VBOX_MANUAL_XML_FILES_INCL_CHANGELOG) \ 464 ,$(evalcall2 def_vbox_replace_stuff_in_xml,/$(lang)/$(file),/$(lang)))) 506 465 507 466 ## … … 534 493 $(QUIET)$(VBOX_XSLTPROC_WITH_CAT) --output "$@" $< $(filter %.xml,$^) 535 494 536 $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml: $( MAKEFILE_CURRENT) | $$(dir $$@)495 $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml: $(VBOXMANAGEHELP_PATH) $(MAKEFILE_CURRENT) | $$(dir $$@) 537 496 $(call MSG_GENERATE,,$@,) 497 $(QUIET)$(RM) -f $@ [email protected] 538 498 $(QUIET)$(APPEND) -tn "$@" \ 539 499 '<?xml version="1.0" encoding="UTF-8"?>' \ 540 500 '<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">' \ 541 '<remark role="VBoxManage-overview">' \ 501 '<sect1> <!-- this will be skipped via xpointer in the include. --> ' 502 $(QUIET)$(REDIRECT) -wo [email protected] -E 'VBOX_LOG_FLAGS=disabled' -E 'VBOX_LOG_DEST=nofile' \ 503 $(if $(eq $(KBUILD_TARGET),darwin), -E 'DYLD_FALLBACK_LIBRARY_PATH=$(dir $(LIB_RUNTIME))') \ 504 -- \ 505 $(VBOXMANAGEHELP_PATH) --dumpopts 506 $(QUIET)$(SED) \ 507 -e ':a' \ 508 -e 'N' \ 509 -e '$(DOLLAR)!ba' \ 510 -e 's/</\<\;/g' \ 511 -e 's/>/\>\;/g' \ 512 -e 's/\n*$(DOLLAR)/<\/screen>/' \ 513 -e 's/^/<screen>/' \ 514 --append $@ [email protected] 515 $(QUIET)$(RM) -f [email protected] 516 $(QUIET)$(APPEND) -n "$@" \ 517 ' <remark role="VBoxManage-overview">' \ 542 518 $(foreach refentry, $(filter man_VBoxManage%,$(VBOX_MANUAL_XML_REFENTRY_FILES)) \ 543 519 , ' <xi:include href="overview_$(refentry)" xpointer="element(/1)" xmlns:xi="http://www.w3.org/2001/XInclude" />') \ 544 '</remark>' 520 ' </remark>' \ 521 '</sect1>' 545 522 546 523 -
trunk/doc/manual/en_US/user_VBoxManage.xml
r56541 r56556 158 158 for the commands available on your particular host.</para> 159 159 160 <screen>@VBOX_MANAGE_OUTPUT@</screen> <!-- the whole line is replaced later --> 161 <xi:include href="../user_VBoxManage_CommandsOverview.xml" xpointer="element(/1)" 160 <xi:include href="../user_VBoxManage_CommandsOverview.xml" xpointer="xpointer(/sect1/*)" 162 161 xmlns:xi="http://www.w3.org/2001/XInclude" /> 163 162 -
trunk/doc/manual/fr_FR/user_VBoxManage.xml
r56541 r56556 144 144 pour voir les commandes disponibles sur votre hôte en particulier.</para> 145 145 146 <screen>@VBOX_MANAGE_OUTPUT@</screen> <!-- the whole line is replaced later --> 147 <xi:include href="../user_VBoxManage_CommandsOverview.xml" xpointer="element(/1)" 146 <xi:include href="../user_VBoxManage_CommandsOverview.xml" xpointer="xpointer(/sect1/*)" 148 147 xmlns:xi="http://www.w3.org/2001/XInclude" /> 149 148
Note:
See TracChangeset
for help on using the changeset viewer.