VirtualBox

Changeset 65153 in vbox for trunk/src


Ignore:
Timestamp:
Jan 5, 2017 1:20:21 PM (8 years ago)
Author:
vboxsync
Message:

doxygen: more unification: moved Doxyfile.{Core,qtgui,iprt}.* and docs.{Core,qtgui,iprt} to the respective doxygen directories; sort *_DOXYFILE_INPUT because the wildcard function does not return deterministic results; use separate *_DOXYFILE_{INPUT,OUTPUT} variables

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r65139 r65153  
    12571257        $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui \
    12581258        $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep \
    1259         $(PATH_TARGET)/docs.qtgui
     1259        $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
    12601260
    12611261QTGUI_DOXYFILE_INPUT_DIRS := \
     
    13011301        $(foreach dir, $(QTGUI_DOXYFILE_INPUT_DIRS), \
    13021302                $(sort $(wildcard $(dir)/*.h)) \
    1303                 $(wildcard $(dir)/*.cpp $(dir)/*.m $(dir)/*.mm))
    1304 
    1305 -include $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep
     1303                $(sort $(wildcard $(dir)/*.cpp $(dir)/*.m $(dir)/*.mm)))
     1304
     1305includedep $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui.dep
    13061306
    13071307# Generate the Doxyfile
     
    13091309                $(PATH_SUB_CURRENT)/Doxyfile \
    13101310                $(PATH_SUB_CURRENT)/Makefile.kmk \
    1311                 $(comp-vars QTGUI_DOXYFILE_INPUT,QTGUI_DOXYFILE_INPUT_PREV,FORCE) \
     1311                $(comp-vars QTGUI_DOXYFILE_INPUT,DOXYGEN_QTGUI_INPUT_PREV,FORCE) \
     1312                $(comp-vars QTGUI_DOXYFILE_OUTPUT,DOXYGEN_QTGUI_OUTPUT_PREV,FORCE) \
    13121313                | $$(dir $$@)
    1313         $(call MSG_L1,generating qtgui doxygen file)
    13141314        $(QUIET)$(RM) -f $@ [email protected] [email protected]
    13151315        $(QUIET)$(CP) -f $< [email protected]
     
    13231323        $(QUIET)$(APPEND) [email protected]
    13241324        $(QUIET)$(MV) -f [email protected] $@
    1325         @$(APPEND) [email protected] "QTGUI_DOXYFILE_INPUT_PREV = $(QTGUI_DOXYFILE_INPUT)"
     1325        @$(APPEND) [email protected] "DOXYGEN_QTGUI_OUTPUT_PREV = $(QTGUI_DOXYFILE_OUTPUT)"
     1326        @$(APPEND) [email protected] "DOXYGEN_QTGUI_INPUT_PREV = $(QTGUI_DOXYFILE_INPUT)"
    13261327
    13271328# Do the actual job.
    1328 $(PATH_TARGET)/docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui $$(QTGUI_DOXYFILE_INPUT) | $(QTGUI_DOXYFILE_OUTPUT)/
     1329$(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui $$(QTGUI_DOXYFILE_INPUT) \
     1330                | $(QTGUI_DOXYFILE_OUTPUT)/
    13291331        $(call MSG_L1,doxygen qtgui)
     1332        $(QUIET)$(RM) -f $@
    13301333        $(QUIET)$(RM) -Rf -- $(QTGUI_DOXYFILE_OUTPUT)/html/
    1331         $(QUIET)doxygen $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui
    1332         $(QUIET)$(APPEND) $(PATH_TARGET)/docs.qtgui
     1334        doxygen $(QTGUI_DOXYFILE_OUTPUT)/Doxyfile.qtgui
     1335        $(APPEND) $@
    13331336
    13341337# aliases
    1335 docs.qtgui: $(PATH_TARGET)/docs.qtgui
     1338docs.qtgui: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
    13361339if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
    1337 docs:      $(PATH_TARGET)/docs.qtgui
     1340docs: $(QTGUI_DOXYFILE_OUTPUT)/docs.qtgui
    13381341endif
    13391342
  • trunk/src/VBox/Runtime/Makefile.kmk

    r64921 r65153  
    129129        $(IPRT_OUT_DIR)/odi2name.h \
    130130        $(IPRT_OUT_DIR)/odi2name.h.ts \
    131         $(IPRT_OUT_DIR)/Doxyfile.iprt \
    132         $(IPRT_OUT_DIR)/Doxyfile.iprt.dep \
    133         $(IPRT_OUT_DIR)/docs.iprt
     131        $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt \
     132        $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt.dep \
     133        $(IPRT_DOXYFILE_OUTPUT)/docs.iprt
    134134
    135135
     
    29112911IPRT_DOXYFILE_INPUT := \
    29122912        $(IPRT_DOXYFILE_INPUT_FIRST) \
    2913         $(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT))
     2913        $(sort $(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT)))
    29142914
    29152915
     
    29172917BLDDIRS += $(IPRT_DOXYFILE_OUTPUT)
    29182918
    2919 includedep $(IPRT_OUT_DIR)/Doxyfile.iprt.dep
     2919includedep $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt.dep
    29202920
    29212921# Generate the Doxyfile
    2922 $(IPRT_OUT_DIR)/Doxyfile.iprt: \
     2922$(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt: \
    29232923                $(VBOX_PATH_RUNTIME_SRC)/Doxyfile \
    29242924                $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \
    2925                 $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \
    2926                 $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \
     2925                $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_IPRT_INPUT_PREV,FORCE) \
     2926                $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_IPRT_OUTPUT_PREV,FORCE) \
    29272927                | $$(dir $$@)
    29282928        $(QUIET)$(RM) -f $@ [email protected] [email protected]
     
    29472947        $(QUIET)$(APPEND) [email protected]
    29482948        $(QUIET)$(MV) -f [email protected] $@
    2949         $(QUIET)$(APPEND) [email protected] "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"
    2950         $(QUIET)$(APPEND) [email protected] "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"
     2949        $(QUIET)$(APPEND) [email protected] "DOXYGEN_IPRT_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"
     2950        $(QUIET)$(APPEND) [email protected] "DOXYGEN_IPRT_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"
    29512951
    29522952# Do the actual job.
    2953 $(IPRT_OUT_DIR)/docs.iprt: $(IPRT_OUT_DIR)/Doxyfile.iprt $$(IPRT_DOXYFILE_INPUT) | $(IPRT_DOXYFILE_OUTPUT)/
    2954         $(QUIET)$(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $(IPRT_OUT_DIR)/docs.iprt
    2955         doxygen $(DOXYGEN_OPTS) $(IPRT_OUT_DIR)/Doxyfile.iprt
    2956         $(SED)  -e '/warning. Unexpected tag .dd. found/d' \
    2957                 -e '/warning. Unsupported xml.html tag .globalScope. found/d' \
    2958                --output $(IPRT_DOXYFILE_OUTPUT)/errors2 \
    2959                 $(IPRT_DOXYFILE_OUTPUT)/errors
     2953$(IPRT_DOXYFILE_OUTPUT)/docs.iprt: $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt $$(IPRT_DOXYFILE_INPUT) \
     2954                | $(IPRT_DOXYFILE_OUTPUT)/
     2955        $(QUIET)$(RM) -f $@
     2956        $(QUIET)$(RM) -Rf $(IPRT_DOXYFILE_OUTPUT)/html/
     2957        doxygen $(DOXYGEN_OPTS) $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt
     2958        $(SED) \
     2959                -e '/warning. Unexpected tag .dd. found/d' \
     2960                -e '/warning. Unsupported xml.html tag .globalScope. found/d' \
     2961                --output $(IPRT_DOXYFILE_OUTPUT)/errors2 \
     2962                $(IPRT_DOXYFILE_OUTPUT)/errors
    29602963        $(CAT) $(IPRT_DOXYFILE_OUTPUT)/errors2
    29612964        $(SED) -e "/[^ ]/q 1" $(IPRT_DOXYFILE_OUTPUT)/errors2
    2962         $(APPEND) $(IPRT_OUT_DIR)/docs.iprt
     2965        $(APPEND) $@
    29632966
    29642967# aliases
    2965 docs.iprt: $(IPRT_OUT_DIR)/docs.iprt
     2968docs.iprt: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt
    29662969if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
    2967 docs:      $(IPRT_OUT_DIR)/docs.iprt
     2970docs: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt
    29682971endif
    29692972
    29702973test-doxygen::
    2971         @echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE)
     2974        @echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_IPRT_OUTPUT_PREV,FORCE)
    29722975        @echo $(IPRT_DOXYFILE_OUTPUT)
    2973         @echo $(DOXYGEN_OUTPUT_PREV)
     2976        @echo $(DOXYGEN_IPRT_OUTPUT_PREV)
    29742977        @echo $(IPRT_DOXYFILE_INPUT)
    29752978
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