VirtualBox

Changeset 98447 in vbox for trunk


Ignore:
Timestamp:
Feb 2, 2023 1:30:40 PM (2 years ago)
Author:
vboxsync
Message:

manual/Makefile.kmk: Fixes to the ditamap-to-pdf stuff. bugref:10302

File:
1 edited

Legend:

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

    r98446 r98447  
    871871#
    872872##########################################################################################
     873VBOX_DITA_PATH_LIB  ?= $(VBOX_DITA_PATH)/lib
     874VBOX_DITA_ENV_SETUP ?= $(REDIRECT) \
     875        -E 'DITA_CLASSPATH=$(VBOX_DITA_PATH_LIB)/dost.jar' \
     876        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)' \
     877        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/commons-codec-1.4.jar' \
     878        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/resolver.jar' \
     879        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/icu4j.jar' \
     880        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/xercesImpl.jar' \
     881        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/xml-apis.jar' \
     882        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/saxon/saxon9.jar' \
     883        -A 'DITA_CLASSPATH=:$(VBOX_DITA_PATH_LIB)/saxon/saxon9-dom.jar' \
     884        --
     885
     886ditamap-to-pdf:
     887
    873888define def_ditamap_to_pdf
    874         DITA_ENV_SETUP ?= $(REDIRECT) \
    875                 -E 'DITA_CLASSPATH=$(VBOX_DITA_PATH)/lib/dost.jar:\
    876                 $(VBOX_DITA_PATH)/lib:$(VBOX_DITA_PATH)/lib/commons-codec-1.4.jar:\
    877                 $(VBOX_DITA_PATH)/lib/resolver.jar:$(VBOX_DITA_PATH)/lib/icu4j.jar:\
    878                 $(VBOX_DITA_PATH)/lib/xercesImpl.jar:$(VBOX_DITA_PATH)/lib/xml-apis.jar:\
    879                 $(VBOX_DITA_PATH)/lib/saxon/saxon9.jar:$(VBOX_DITA_PATH)/lib/saxon/saxon9-dom.jar' --
    880 
    881         $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual_dita.pdf: \
     889 ditamap-to-pdf: $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual_dita.pdf
     890 $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual_dita.pdf: \
    882891                $(VBOX_PATH_MANUAL_SRC)/$(1)/some_dita.ditamap
    883                 $(QUIET)$(call DITA_ENV_SETUP) \
    884                         $(VBOX_JAVA) -jar lib/dost.jar /i:$$(VBOX_PATH_MANUAL_SRC)/$(1)/some_dita.ditamap /transtype:pdf
     892        $(QUIET)$(call VBOX_DITA_ENV_SETUP) \
     893                $(VBOX_JAVA) -jar lib/dost.jar /i:$$(VBOX_PATH_MANUAL_SRC)/$(1)/some_dita.ditamap /transtype:pdf
    885894endef
    886 ditamap-to-pdf: $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_ditamap_to_pdf))
     895$(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_ditamap_to_pdf,$(lang)))
    887896
    888897#
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