VirtualBox

Changeset 98466 in vbox for trunk


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

Docs: bugref:10302. More makefile fixes. I was setting wrong env. variable as it turns out.

File:
1 edited

Legend:

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

    r98448 r98466  
    873873 VBOX_DITA_PATH_LIB ?= $(VBOX_DITA_PATH)/lib
    874874 VBOX_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' \
     875        -E 'ANT_OPTS=-Xmx512m -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl' \
     876        -E 'ANT_HOME=$(VBOX_DITA_PATH)/tools/ant' \
     877        -E 'DITA_DIR=$(VBOX_DITA_PATH)' \
     878        -A 'PATH=:$(VBOX_DITA_PATH)/tools/ant/bin' \
     879        -E 'CLASSPATH=$(VBOX_DITA_PATH_LIB)/dost.jar' \
     880        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)' \
     881        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/commons-codec-1.4.jar' \
     882        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/resolver.jar' \
     883        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/icu4j.jar' \
     884        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/xercesImpl.jar' \
     885        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/xml-apis.jar' \
     886        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/saxon/saxon9.jar' \
     887        -A 'CLASSPATH=:$(VBOX_DITA_PATH_LIB)/saxon/saxon9-dom.jar' \
    884888        --
    885889
     
    889893  ditamap-to-pdf: $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual_dita.pdf
    890894  $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual_dita.pdf: \
    891                 $(VBOX_PATH_MANUAL_SRC)/$(1)/some_dita.ditamap
     895                $(VBOX_PATH_MANUAL_SRC)/$(1)/dita/user.ditamap
    892896        $(QUIET)$(call VBOX_DITA_ENV_SETUP) \
    893                 $(VBOX_JAVA) -jar lib/dost.jar /i:$$(VBOX_PATH_MANUAL_SRC)/$(1)/some_dita.ditamap /transtype:pdf
     897                $(VBOX_JAVA) -jar $(VBOX_DITA_PATH_LIB)/dost.jar /i:$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/user.ditamap /transtype:pdf /ditadir:$(VBOX_DITA_PATH)
    894898 endef
    895899 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_ditamap_to_pdf,$(lang)))
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