VirtualBox

Changeset 56192 in vbox


Ignore:
Timestamp:
Jun 1, 2015 3:46:50 PM (10 years ago)
Author:
vboxsync
Message:

Extract the necessary bits for the VBoxManage Commands Overview section from the refentry file(s).

Location:
trunk
Files:
1 added
3 edited

Legend:

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

    r56178 r56192  
    453453$(foreach lang,$(VBOX_MANUAL_LANGUAGES), \
    454454$(eval $$(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/user_VBoxManage.xml: $(VBOX_PATH_MANUAL_SRC)/$(lang)/user_VBoxManage.xml \
    455         $$(addprefix $$(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/,$$(filter man_VBoxManage%,$$(VBOX_MANUAL_XML_REFENTRY_FILES)))))
     455        $$(addprefix $$(VBOX_PATH_MANUAL_OUTBASE)/$(lang)/,$$(filter man_VBoxManage%,$$(VBOX_MANUAL_XML_REFENTRY_FILES))) \
     456        $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml ))
    456457
    457458# user_VBoxManage.xml currently needs some extra processing to stitch in the VBoxManage usage blob.
     
    460461                $(VBOX_PATH_MANUAL_SRC)/% \
    461462               $$(addprefix $$(@D)/,$$(filter man_VBoxManage%,$$(VBOX_MANUAL_XML_REFENTRY_FILES))) \
     463                $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml \
    462464                $(VBOX_XML_CATALOG) \
    463465                $(VBOX_XML_CATALOG_DOCBOOK) \
     
    516518               --output $@ $<
    517519
     520# Generates the VBoxManage command overview include file (shared between
     521# languages) from the refsynopsisdiv section of the man pages.
     522$(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml: \
     523                $(VBOX_PATH_MANUAL_SRC)/docbook-refentry-to-manual-overview.xsl \
     524                $(addprefix $(VBOX_PATH_MANUAL_SRC)/en_US/,$(filter man_VBoxManage_%,$(VBOX_MANUAL_XML_REFENTRY_FILES))) \
     525               | $$(dir $$@)
     526        $(call MSG_GENERATE,,$@,en_US/man_VBoxManage_*.xml)
     527        $(QUIET)$(RM) -f -- "$@"
     528        $(QUIET)$(VBOX_XSLTPROC_WITH_CAT) --xinclude --nonet --output "$@" \
     529                $(VBOX_PATH_MANUAL_SRC)/docbook-refentry-to-manual-overview.xsl \
     530                $(addprefix $(VBOX_PATH_MANUAL_SRC)/en_US/,$(filter man_VBoxManage_%,$(VBOX_MANUAL_XML_REFENTRY_FILES)))
     531
     532xxxx:: $(VBOX_PATH_MANUAL_OUTBASE)/user_VBoxManage_CommandsOverview.xml
     533
    518534# generate SDKRef_apiref.xml as a docbook file excerpt that will be referenced from the SDKRef.xml.
    519535$(VBOX_MANUAL_APIREF_TMP): $(VBOX_DOC_XIDL_SRC_TMP) $(VBOX_PATH_MANUAL_SRC)/xidl2docbook.xsl
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r56171 r56192  
    160160
    161161    <screen>$VBOX_MANAGE_OUTPUT</screen>
     162    <xi:include href="../user_VBoxManage_CommandsOverview.xml" xpointer="element(/1)"
     163      xmlns:xi="http://www.w3.org/2001/XInclude" />
    162164
    163165    <para>Each time VBoxManage is invoked, only one command can be executed.
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageHelp.cpp

    r56090 r56192  
    868868                     "\n", SEP, SEP);
    869869    }
     870#ifndef VBOX_ONLY_DOCS /* Converted to man page, not needed. */
    870871    if (fCategory & USAGE_EXTPACK)
    871872    {
     
    876877                     "\n", SEP);
    877878    }
     879#endif
    878880}
    879881
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