VirtualBox

Changeset 65153 in vbox for trunk/src/VBox/Runtime


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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