VirtualBox

Changeset 88303 in vbox for trunk


Ignore:
Timestamp:
Mar 26, 2021 6:27:19 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143520
Message:

/Config.kmk, /Makefile.kmk, Installer/win/Makefile.kmk: Start phasing out the .chm documentation including kchmviewer.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r88302 r88303  
    387387VBOX_WITH_DOCS_PACKING = 1
    388388# Include CHM when building docs (unset in LocalConfig.kmk to suppress CHM)
     389## @todo CHM docs are on the way out...
    389390if1of ($(KBUILD_TARGET), win)
    390  VBOX_WITH_DOCS_CHM = 1
     391 VBOX_WITH_DOCS_CHM =
    391392endif
    392393# By default only include translations in documentation-only builds
     
    722723VBOX_WITH_ONLY_PYTHON_LIMITED_API = 1
    723724# Enable the kchmviewer.
    724 VBOX_WITH_KCHMVIEWER = 1
     725## @todo CHM docs are on the way out...
     726VBOX_WITH_KCHMVIEWER =
    725727# Build the Validation Kit.
    726728VBOX_WITH_VALIDATIONKIT = 1
  • trunk/Makefile.kmk

    r88285 r88303  
    369369buildserver-docs_SOURCES = \
    370370        $(addprefix $(PATH_TARGET)/, \
    371                 VirtualBox.chm UserManual.pdf \
    372                 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),VirtualBox_$(f).chm UserManual_$(f).pdf))
     371                $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox.chm,) \
     372                UserManual.pdf \
     373                $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
     374                        $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),VirtualBox_$(f).chm,) \
     375                        UserManual_$(f).pdf))
    373376buildserver-docs_CLEANS = \
    374377        $(buildserver-docs_0_OUTDIR)/unpacked.ts \
     
    379382                $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),VirtualBox_$(f).chm UserManual_$(f).pdf))
    380383
    381 $$(buildserver-docs_0_OUTDIR)/unpacked.ts +| $(PATH_TARGET)/VirtualBox.chm $(PATH_TARGET)/UserManual.pdf \
     384$$(buildserver-docs_0_OUTDIR)/unpacked.ts +| \
     385        $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \
     386        $(PATH_TARGET)/UserManual.pdf \
    382387$(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_TARGET)/VirtualBox_$(f).chm $(PATH_TARGET)/UserManual_$(f).pdf): \
    383388                $$(buildserver-docs_0_OUTDIR)/VBoxDocumentation.zip
    384389        $(call MSG_L1,Unpacking documentation)
    385390        $(QUIET)$(TOOL_ZIP_UNPACK) $(TOOL_ZIP_UNPACKFLAGS) -o $< -d $(PATH_TARGET)
    386         $(TOUCH) -c -- $(PATH_TARGET)/VirtualBox.chm \
     391        $(TOUCH) -c -- \
     392                $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox.chm,) \
    387393                $(PATH_TARGET)/UserManual.pdf \
    388                 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_TARGET)/VirtualBox_$(f).chm $(PATH_TARGET)/UserManual_$(f).pdf)
     394                $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES), \
     395                        $(if-expr defined(VBOX_WITH_DOCS_CHM_PACKING),$(PATH_TARGET)/VirtualBox_$(f).chm,) \
     396                        $(PATH_TARGET)/UserManual_$(f).pdf)
    389397        $(APPEND) -t $@ "done"
    390398
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r86808 r88303  
    425425        #
    426426ifdef VBOX_WITH_DOCS_PACKING
     427 ifdef VBOX_WITH_DOCS_CHM_PACKING
    427428        $(APPEND) $@ '  <Shortcut Id="sc_StartMenu_ManualCHM_en_US" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (CHM, English)" Description="!(loc.StartMenu_UserManual)"' \
    428429                     '            Target="[INSTALLDIR]\VirtualBox.chm" WorkingDirectory="dir_Documents" Advertise="no"/>'
     
    430431                     '  <Shortcut Id="sc_StartMenu_ManualCHM_$(lang)" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (CHM, $(VBOX_BRAND_$(lang)_LANG_NAME))"' \
    431432                     '            Description="!(loc.StartMenu_UserManual) ($(VBOX_BRAND_$(lang)_LANG_NAME))" Target="[INSTALLDIR]\VirtualBox_$(lang).chm" WorkingDirectory="dir_Documents"/>')
    432 endif
     433 endif
    433434        $(APPEND) $@ '  <Shortcut Id="sc_StartMenu_ManualPDF_en_US" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (PDF, English)" Description="!(loc.StartMenu_UserManual)"' \
    434435                     '            Target="[INSTALLDIR]\doc\UserManual.pdf" WorkingDirectory="dir_Documents" Advertise="no"/>'
     
    436437                     '  <Shortcut Id="sc_StartMenu_ManualPDF_$(lang)" Directory="dir_StartMenuVBox" Name="!(loc.StartMenu_UserManual) (PDF, $(VBOX_BRAND_$(lang)_LANG_NAME))"' \
    437438                     '            Description="!(loc.StartMenu_UserManual) ($(VBOX_BRAND_$(lang)_LANG_NAME))" Target="[INSTALLDIR]\doc\UserManual_$(lang).pdf" WorkingDirectory="dir_Documents"/>')
     439endif
    438440        #
    439441        # License(s) (RTF)
Note: See TracChangeset for help on using the changeset viewer.

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