VirtualBox

Changeset 38082 in vbox for trunk/doc/manual/Makefile.kmk


Ignore:
Timestamp:
Jul 20, 2011 2:26:24 PM (13 years ago)
Author:
vboxsync
Message:

*.kmk: Installation/staging adjustments (kBuild 0.2.0 preps).

File:
1 edited

Legend:

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

    r36952 r38082  
    2424#   -- VirtualBox.chm
    2525#
    26 #   Both files end up in PATH_BIN.
     26#   Both files end up in PATH_STAGE_BIN.
    2727#
    2828#   Both targets indirectly depend on the XML files in this directory;
     
    8282
    8383 ifdef VBOX_WITH_DOCS_CHM
    84   VBOX_PATH_BIN_CHM = $(PATH_BIN)/VirtualBox.chm
     84  VBOX_PATH_BIN_CHM = $(PATH_STAGE_BIN)/VirtualBox.chm
    8585 else
    8686  VBOX_PATH_BIN_CHM =
     
    9090 ifndef VBOX_ONLY_SDK
    9191  VBOX_MANUAL_PACK += \
    92                 $(PATH_BIN)/UserManual.pdf \
     92                $(PATH_STAGE_BIN)/UserManual.pdf \
    9393                $(VBOX_PATH_BIN_CHM)
    9494  OTHERS += \
    95         $(PATH_BIN)/UserManual.pdf
     95        $(PATH_STAGE_BIN)/UserManual.pdf
    9696  OTHERS.win += \
    9797        $(VBOX_PATH_BIN_CHM)
     
    101101  ifdef VBOX_WITH_DOCS_TRANSLATIONS
    102102   OTHERS += \
    103         $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/UserManual_$(f).pdf)
     103        $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/UserManual_$(f).pdf)
    104104   ifdef VBOX_WITH_DOCS_CHM
    105105   OTHERS.win += \
    106         $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/VirtualBox_$(f).chm)
     106        $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/VirtualBox_$(f).chm)
    107107   OTHERS.linux += \
    108         $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/VirtualBox_$(f).chm)
     108        $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/VirtualBox_$(f).chm)
    109109   endif
    110110  endif
    111111 endif # !VBOX_ONLY_SDK
    112112 ifdef VBOX_ONLY_DOCS
    113   PACKING += $(PATH_BIN)/VBoxDocumentation.zip
     113  PACKING += $(PATH_STAGE_BIN)/VBoxDocumentation.zip
    114114 endif
    115115
     
    172172 ifdef VBOX_WITH_DOCS_CHM
    173173 VBOX_MANUAL_PACK += \
    174         $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/UserManual_$(f).pdf $(PATH_BIN)/VirtualBox_$(f).chm)
     174        $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/UserManual_$(f).pdf $(PATH_STAGE_BIN)/VirtualBox_$(f).chm)
    175175 endif
    176176
     
    192192        $(foreach f,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$f/UserManual.pdf) \
    193193        $(foreach f,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$f/VirtualBox.chm) \
    194         $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/UserManual_$(f).pdf) \
    195         $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/VirtualBox_$(f).chm) \
    196         $(PATH_BIN)/UserManual.pdf \
    197         $(PATH_BIN)/VirtualBox.chm \
     194        $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/UserManual_$(f).pdf) \
     195        $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/VirtualBox_$(f).chm) \
     196        $(PATH_STAGE_BIN)/UserManual.pdf \
     197        $(PATH_STAGE_BIN)/VirtualBox.chm \
    198198        $(foreach f,en_US,$(VBOX_PATH_MANUAL_OUTBASE)/$f/SDKRef.pdf) \
    199         $(PATH_BIN)/sdk/docs/SDKRef.pdf \
     199        $(PATH_STAGE_BIN)/sdk/docs/SDKRef.pdf \
    200200        $(wildcard $(foreach f,$(VBOX_MANUAL_LANGUAGES),$(VBOX_PATH_MANUAL_OUTBASE)/$f/HTMLHelp/*.h*)) \
    201201        $(foreach f,$(VBOX_MANUAL_LANGUAGES),\
     
    234234 DOCBOOKPATH         ?= http://docbook.sourceforge.net/release/xsl/current/
    235235endif
    236 VBOXMANAGEPATH       ?= $(PATH_BIN)/VBoxManage$(SUFF_EXE)
     236VBOXMANAGEPATH       ?= $(PATH_STAGE_BIN)/VBoxManage$(SUFF_EXE)
    237237
    238238 # PDFLATEX_INTERACTION = errorstopmode - Use this when you wants to figure out build failures
     
    493493
    494494## @todo INSTALLS target for this!
    495 $(PATH_BIN)/UserManual.pdf: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/UserManual.pdf | $$(dir $$@)
     495$(PATH_STAGE_BIN)/UserManual.pdf: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/UserManual.pdf | $$(dir $$@)
    496496        $(QUIET)$(CP) $< $@
    497497        $(call MSG_L1,Fresh LaTeX-generated PDF is now at $@)
    498498
    499 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/UserManual_$(f).pdf): \
    500         $(PATH_BIN)/UserManual_%.pdf : $(VBOX_PATH_MANUAL_OUTBASE)/%/UserManual.pdf
     499$(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/UserManual_$(f).pdf): \
     500        $(PATH_STAGE_BIN)/UserManual_%.pdf : $(VBOX_PATH_MANUAL_OUTBASE)/%/UserManual.pdf
    501501        $(QUIET)$(CP) $< $@
    502502        $(call MSG_L1,Fresh LaTeX-generated PDF is now at $@)
     
    594594
    595595ifdef VBOX_WITH_DOCS_CHM
    596 $(PATH_BIN)/VirtualBox.chm: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/VirtualBox.chm
     596$(PATH_STAGE_BIN)/VirtualBox.chm: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/VirtualBox.chm
    597597        $(QUIET)$(CP) $< $@
    598598        $(call MSG_L1,Fresh CHM is now at $@)
    599599
    600 $(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_BIN)/VirtualBox_$(f).chm): \
    601         $(PATH_BIN)/VirtualBox_%.chm : $(VBOX_PATH_MANUAL_OUTBASE)/%/VirtualBox.chm
     600$(foreach f,$(VBOX_MANUAL_ADD_LANGUAGES),$(PATH_STAGE_BIN)/VirtualBox_$(f).chm): \
     601        $(PATH_STAGE_BIN)/VirtualBox_%.chm : $(VBOX_PATH_MANUAL_OUTBASE)/%/VirtualBox.chm
    602602        $(QUIET)$(CP) $< $@
    603603        $(call MSG_L1,Fresh CHM is now at $@)
     
    641641
    642642# Packing the docs into a zip file
    643 $(PATH_BIN)/VBoxDocumentation.zip: $(VBOX_MANUAL_PACK)
     643$(PATH_STAGE_BIN)/VBoxDocumentation.zip: $(VBOX_MANUAL_PACK)
    644644        $(call MSG_L1,Packing documentation $@)
    645645        $(QUIET)$(RM) -f $@
    646         $(QUIET)$(REDIRECT) -C $(PATH_BIN) -- zip$(HOSTSUFF_EXE) -9 $@ $(notdir $^)
     646        $(QUIET)$(REDIRECT) -C $(PATH_STAGE_BIN) -- zip$(HOSTSUFF_EXE) -9 $@ $(notdir $^)
    647647endif # VBOX_WITH_DOCS_CHM
    648648
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