Changeset 99268 in vbox
- Timestamp:
- Apr 3, 2023 9:09:28 PM (20 months ago)
- Location:
- trunk/doc/manual
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Makefile.kmk
r99175 r99268 142 142 -- $(VBOX_JAVA) -jar "$1/lib/dost.jar" "/ditadir:$1" $3 $4 # "/outercontrol:fail" ? 143 143 144 if 0 # Experiments with dita-ot v4.0.2. Requires java 17. 144 ifdef VBOX_DITA_USING_LATEST # Experiments with dita-ot v4.0.2. Requires java 17. 145 VBOX_DITA_USING_LATEST := 1 145 146 VBOX_JAVA_HOME := C:/Program Files/Java/jdk-17/ 146 147 VBOX_DITA_ORIGINAL_PATH := D:/Tmp/dita/dita-ot-4.0.2 … … 671 672 $$(qfirstfile , $$(qwildcard , $$(VBOX_PATH_MANUAL_SRC)/$(1)/$(2).xml) $(3) $$(VBOX_PATH_MANUAL_SRC)/en_US/$(2).xml) 672 673 $$(QUIET)$$(call VBOX_XSLTPROC_WITH_CAT) \ 674 $(if-expr defined(VBOX_DITA_USING_LATEST),--stringparam "g_fReplaceHypens" "true",) \ 673 675 --output "$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/topics/$(2).dita" \ 674 676 $$(VBOX_PATH_MANUAL_SRC)/docbook-refentry-to-manual-dita.xsl \ 675 677 "$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/topics/$(2).xml" 676 678 $$(QUIET)$$(VBOX_BLD_PYTHON) $$(VBOX_PATH_MANUAL_SRC)/add_file_to_id_only_references.py \ … … 684 686 $(evalcall2 def_vbox_refentry_file_to_dita,$(lang),user_isomakercmd-man, \ 685 687 $(PATH_ROOT)/src/VBox/Runtime/common/fs/isomakercmd-man.xml)) 688 689 # Run conversion testcase. 690 refentry-to-dita-test: 691 $(RM) -f -- \ 692 "$(VBOX_PATH_MANUAL_OUTBASE)/testcase-refentry1.xml" \ 693 "$(VBOX_PATH_MANUAL_OUTBASE)/testcase-refentry1.dita" 694 $(call VBOX_XSLTPROC_WITH_CAT) \ 695 --output "$(VBOX_PATH_MANUAL_OUTBASE)/testcase-refentry1.xml" \ 696 $(VBOX_PATH_MANUAL_SRC)/docbook-refentry-to-manual-dita-pre.xsl \ 697 $(VBOX_PATH_MANUAL_SRC)/testcase/refentry1.xml 698 $(call VBOX_XSLTPROC_WITH_CAT) \ 699 --output "$(VBOX_PATH_MANUAL_OUTBASE)/testcase-refentry1.dita" \ 700 $(VBOX_PATH_MANUAL_SRC)/docbook-refentry-to-manual-dita.xsl \ 701 "$(VBOX_PATH_MANUAL_OUTBASE)/testcase-refentry1.xml" 702 686 703 687 704 ## @todo Make use of docbook-refentry-to-manual-overview.xsl again (after dita conversion)? … … 704 721 $$(VBOX_MANUAL_XML_FILES_GENERATED_$(lang)) \ 705 722 $$(VBOX_USER_MANUAL_DITA_STAGED_FILES_$(lang)) \ 706 $$(VBOX_USER_MANUAL_CONVERTED_REFENTRY_DITA_FILES_$(lang)) 723 $$(VBOX_USER_MANUAL_CONVERTED_REFENTRY_DITA_FILES_$(lang)) \ 724 $$(VBOX_PATH_MANUAL_SRC)/pdf-theme-UserManual.yaml \ 725 $$(VBOX_PATH_MANUAL_SRC)/en_US/images/vboxlogo.png 707 726 $$(QUIET)$$(RM) -f -- "$$@" "$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual_pdf.log" 708 727 $$(QUIET)$$(RM) -Rf -- "$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita-ot-pdf/" … … 712 731 "/filter:$$(VBOX_PATH_MANUAL_SRC)/$(1)/dita/ohc.ditaval" \ 713 732 "/outdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)" \ 714 "/tempdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/temp_pdf", \ 715 ,,"--logfile=$$(@D)/UserManual_pdf.log") 733 "/tempdir:$$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/dita/temp_pdf" \ 734 , \ 735 $(if-expr defined(VBOX_DITA_DEBUG),"/cleantemp:no",) \ 736 , \ 737 "--theme=$$(VBOX_PATH_MANUAL_SRC)/pdf-theme-UserManual.yaml" \ 738 "--logfile=$$(@D)/UserManual_pdf.log" \ 739 $(if-expr defined(VBOX_DITA_DEBUG),"--clean.temp=no",) \ 740 ) 716 741 717 742 ditamap-to-pdf: $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual.pdf … … 995 1020 endif 996 1021 1022 997 1023 endif # if defined(VBOX_WITH_DOCS) && (!defined(VBOX_ONLY_BUILD) || defined(VBOX_ONLY_DOCS) || defined(VBOX_ONLY_SDK)) 998 1024
Note:
See TracChangeset
for help on using the changeset viewer.