VirtualBox

Changeset 98659 in vbox


Ignore:
Timestamp:
Feb 20, 2023 3:58:37 PM (2 years ago)
Author:
vboxsync
Message:

Docs: bugref:10302. Adding a target for dita-to-hhp.

File:
1 edited

Legend:

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

    r98658 r98659  
    912912                $(QUIET)$(call VBOX_DITA_ENV_SETUP) \
    913913                $(VBOX_JAVA) -jar $(VBOX_DITA_PATH_LIB)/dost.jar /i:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/UserManual.ditamap \
    914                         /transtype:pdf /ditadir:$(VBOX_DITA_PATH) /outdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1) /tempdir:$$(VBOX_PATH_MANUAL_OUTBASE)
     914                        /transtype:pdf /ditadir:$(VBOX_DITA_PATH) /outdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1) /tempdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/temp
    915915
    916916 endef
    917917 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_ditamap_to_pdf,$(lang)))
    918918
    919 
     919 define def_ditamap_to_htmlhelp
     920  ditamap-to-htmlhelp: $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/qhelp/UserManual.hhp
     921  $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/qhelp/UserManual.hhp: \
     922                $(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/UserManual.ditamap \
     923                $(VBOX_REFENTRY_DITA_FILES) \
     924                $$(VBOX_PATH_MANUAL_SRC)/correct_references.py
     925                $$(call MSG_L1,correct_references.py -d $(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/topics)
     926                $$(QUIET)$$(VBOX_BLD_PYTHON) $$(VBOX_PATH_MANUAL_SRC)/correct_references.py -d $(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/topics
     927                $(QUIET)$(call VBOX_DITA_ENV_SETUP) \
     928                $(VBOX_JAVA) -jar $(VBOX_DITA_PATH_LIB)/dost.jar /i:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/UserManual.ditamap \
     929                        /transtype:htmlhelp /ditadir:$(VBOX_DITA_PATH) /outdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/qhelp /tempdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/temp
     930
     931 endef
     932 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_ditamap_to_htmlhelp,$(lang)))
    920933
    921934 #
     
    10111024  local out_dir := $(VBOX_PATH_MANUAL_OUTBASE)/$(lang)
    10121025  $$(out_dir)/qhelp/UserManual.qhp: \
    1013                 $$(out_dir)/qhelp/htmlhelp.hhp \
     1026                $$(out_dir)/qhelp/UserManual.hhp \
    10141027                $$(addprefix $$(out_dir)/qhelp/,$$(VBOX_MANUAL_PNG_FILES_$(lang))) \
    10151028                | $$$$(dir $$$$@)
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