VirtualBox

Changeset 105190 in vbox for trunk/doc


Ignore:
Timestamp:
Jul 8, 2024 2:46:16 PM (7 months ago)
Author:
vboxsync
Message:

Docs: bugref:10705. Dependency improvement (avoid forcing all builds to create the .kmk include files), plus scm fix.

File:
1 edited

Legend:

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

    r105189 r105190  
    718718                $(PATH_ROOT)/src/VBox/Runtime/common/fs/isomakercmd-man.xml))
    719719
    720  include $(VBOX_PATH_MANUAL_OUTBASE)/refentry.kmk
    721 
    722  $(VBOX_PATH_MANUAL_OUTBASE)/refentry.kmk: \
    723         $(foreach lang,$(VBOX_MANUAL_ALL_LANGUAGES) \
    724         ,$(VBOX_PATH_MANUAL_OUTBASE)/refentry_$(lang).kmk)
     720 ifdef VBOX_ONLY_DOCS
     721  include $(VBOX_PATH_MANUAL_OUTBASE)/refentry.kmk
     722
     723  $(VBOX_PATH_MANUAL_OUTBASE)/refentry.kmk: \
     724                $(foreach lang,$(VBOX_MANUAL_ALL_LANGUAGES) \
     725                        ,$(VBOX_PATH_MANUAL_OUTBASE)/refentry_$(lang).kmk)
    725726        $(QUIET)$(RM) -f -- "$@"
    726727        $(APPEND) -tn "$@" '# refentry.kmk'
     
    728729        $(APPEND) -n "$@" '# done'
    729730
    730  ## Include file for all language specific refentry files.
    731  # @param 1    Language
    732  define def_vbox_refentry_lang_kmk
    733   $$(VBOX_PATH_MANUAL_OUTBASE)/refentry_$(1).kmk: \
    734         $$(addsuffix .kmk,$$(VBOX_USER_MANUAL_CONVERTED_REFENTRY_DITA_FILES_$(1)))
     731  ## Include file for all language specific refentry files.
     732  # @param 1    Language
     733  define def_vbox_refentry_lang_kmk
     734   $$(VBOX_PATH_MANUAL_OUTBASE)/refentry_$(1).kmk: \
     735                $$(addsuffix .kmk,$$(VBOX_USER_MANUAL_CONVERTED_REFENTRY_DITA_FILES_$(1)))
    735736        $$(QUIET)$$(RM) -f -- "$$@"
    736737        $$(APPEND) -tn "$$@" '# refentry_$(1).kmk'
     
    738739        $$(APPEND) -n "$$@" '# done'
    739740
    740  endef # def_vbox_refentry_lang_kmk
    741 
    742  $(foreach lang,$(VBOX_MANUAL_ALL_LANGUAGES) \
    743         ,$(evalcall2 def_vbox_refentry_lang_kmk,$(lang)))
     741  endef # def_vbox_refentry_lang_kmk
     742
     743  $(foreach lang,$(VBOX_MANUAL_ALL_LANGUAGES) \
     744        ,$(evalcall2 def_vbox_refentry_lang_kmk,$(lang)))
     745 endif
    744746
    745747 # Run conversion testcase.
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