- Timestamp:
- Mar 9, 2023 9:50:53 AM (19 months ago)
- File:
-
- 1 edited
-
trunk/doc/manual/Makefile.kmk (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/Makefile.kmk
r98883 r98884 479 479 ########################################################################################## 480 480 481 ifdef PDF_FROM_LATEX482 # Generate PDF from LaTeX483 # Note: out_dir needs to be referenced with an escaped $ so it doesn't expand as eval expands it input.484 define def_vbox_usermanual_tex_to_pdf485 local out_dir := $(VBOX_PATH_MANUAL_OUTBASE)/$(lang)486 $$(out_dir)/UserManual.pdf: \487 $$(out_dir)/UserManual.tex \488 $$(if $$(VBOX_OSE),,$$(out_dir)/ucs.sty) \489 $$(addprefix $$(out_dir)/,$$(VBOX_MANUAL_PNG_FILES_$(lang))) | $$$$(dir $$$$@)490 # PDF generation via Latex: generate the .tex file481 ifdef PDF_FROM_LATEX 482 # Generate PDF from LaTeX 483 # Note: out_dir needs to be referenced with an escaped $ so it doesn't expand as eval expands it input. 484 define def_vbox_usermanual_tex_to_pdf 485 local out_dir := $(VBOX_PATH_MANUAL_OUTBASE)/$(lang) 486 $$(out_dir)/UserManual.pdf: \ 487 $$(out_dir)/UserManual.tex \ 488 $$(if $$(VBOX_OSE),,$$(out_dir)/ucs.sty) \ 489 $$(addprefix $$(out_dir)/,$$(VBOX_MANUAL_PNG_FILES_$(lang))) | $$$$(dir $$$$@) 490 # PDF generation via Latex: generate the .tex file 491 491 $$(call MSG_L1,pdflatex $$< (four passes) -> $$@) 492 492 $$(QUIET)$$(REDIRECT) -w+ti /dev/null -C $$(@D) -- $$(VBOX_PDFLATEX_CMD) UserManual.tex … … 499 499 $$(basename $$@).log 500 500 $$(call MSG_L1,Fresh LaTeX-generated PDF is now at $$@) 501 endef502 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_vbox_usermanual_tex_to_pdf))503 endif501 endef 502 $(foreach lang,$(VBOX_MANUAL_LANGUAGES),$(evalcall2 def_vbox_usermanual_tex_to_pdf)) 503 endif 504 504 505 505 # Generate LaTeX from XML … … 915 915 ditamap-to-pdf: $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual.pdf 916 916 $$(VBOX_PATH_MANUAL_OUTBASE)/$(1)/UserManual.pdf: \ 917 $$(addprefix $$(VBOX_PATH_MANUAL_SRC)/$(lang)/,$$(VBOX_MANUAL_XML_FILES)) \917 $$(addprefix $$(VBOX_PATH_MANUAL_SRC)/$(lang)/,$$(VBOX_MANUAL_XML_FILES)) \ 918 918 $$(VBOX_MANUAL_XML_FILES_COMMON) \ 919 919 $$(VBOX_MANUAL_XML_FILES_GENERATED_$(lang)) \
Note:
See TracChangeset
for help on using the changeset viewer.

