| OLD | NEW |
| 1 ## | 1 ## |
| 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. | 2 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
| 3 ## | 3 ## |
| 4 ## Use of this source code is governed by a BSD-style license | 4 ## Use of this source code is governed by a BSD-style license |
| 5 ## that can be found in the LICENSE file in the root of the source | 5 ## that can be found in the LICENSE file in the root of the source |
| 6 ## tree. An additional intellectual property rights grant can be found | 6 ## tree. An additional intellectual property rights grant can be found |
| 7 ## in the file PATENTS. All contributing project authors may | 7 ## in the file PATENTS. All contributing project authors may |
| 8 ## be found in the AUTHORS file in the root of the source tree. | 8 ## be found in the AUTHORS file in the root of the source tree. |
| 9 ## | 9 ## |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 # Other doxy files sourced in Markdown | 23 # Other doxy files sourced in Markdown |
| 24 TXT_DOX = $(call enabled,TXT_DOX) | 24 TXT_DOX = $(call enabled,TXT_DOX) |
| 25 | 25 |
| 26 %.dox: %.txt | 26 %.dox: %.txt |
| 27 @echo " [DOXY] $@" | 27 @echo " [DOXY] $@" |
| 28 @$(SRC_PATH_BARE)/examples/gen_example_doxy.php \ | 28 @$(SRC_PATH_BARE)/examples/gen_example_doxy.php \ |
| 29 $(@:.dox=) "$($@.DESC)" > $@ < $< | 29 $(@:.dox=) "$($@.DESC)" > $@ < $< |
| 30 | 30 |
| 31 | 31 |
| 32 EXAMPLE_PATH += $(SRC_PATH_BARE) #for CHANGELOG, README, etc | 32 EXAMPLE_PATH += $(SRC_PATH_BARE) #for CHANGELOG, README, etc |
| 33 EXAMPLE_PATH += $(SRC_PATH_BARE)/examples |
| 33 | 34 |
| 35 doxyfile: $(if $(findstring examples, $(ALL_TARGETS)),examples.doxy) |
| 34 doxyfile: libs.doxy_template libs.doxy | 36 doxyfile: libs.doxy_template libs.doxy |
| 35 @echo " [CREATE] $@" | 37 @echo " [CREATE] $@" |
| 36 @cat $^ > $@ | 38 @cat $^ > $@ |
| 37 @echo "STRIP_FROM_PATH += $(SRC_PATH_BARE) $(BUILD_ROOT)" >> $@ | 39 @echo "STRIP_FROM_PATH += $(SRC_PATH_BARE) $(BUILD_ROOT)" >> $@ |
| 38 @echo "INPUT += $(addprefix $(SRC_PATH_BARE)/,$(CODEC_DOX))" >> $@; | 40 @echo "INPUT += $(addprefix $(SRC_PATH_BARE)/,$(CODEC_DOX))" >> $@; |
| 39 @echo "INPUT += $(TXT_DOX)" >> $@; | 41 @echo "INPUT += $(TXT_DOX)" >> $@; |
| 40 @echo "EXAMPLE_PATH += $(EXAMPLE_PATH)" >> $@ | 42 @echo "EXAMPLE_PATH += $(EXAMPLE_PATH)" >> $@ |
| 41 | 43 |
| 42 CLEAN-OBJS += doxyfile $(wildcard docs/html/*) | 44 CLEAN-OBJS += doxyfile $(wildcard docs/html/*) |
| 43 docs/html/index.html: doxyfile $(CODEC_DOX) $(TXT_DOX) | 45 docs/html/index.html: doxyfile $(CODEC_DOX) $(TXT_DOX) |
| 44 @echo " [DOXYGEN] $<" | 46 @echo " [DOXYGEN] $<" |
| 45 @doxygen $< | 47 @doxygen $< |
| 46 DOCS-yes += docs/html/index.html | 48 DOCS-yes += docs/html/index.html |
| 47 | 49 |
| 48 DIST-DOCS-yes = $(wildcard docs/html/*) | 50 DIST-DOCS-yes = $(wildcard docs/html/*) |
| 49 DIST-DOCS-$(CONFIG_CODEC_SRCS) += $(addprefix src/,$(CODEC_DOX)) | 51 DIST-DOCS-$(CONFIG_CODEC_SRCS) += $(addprefix src/,$(CODEC_DOX)) |
| 50 DIST-DOCS-$(CONFIG_CODEC_SRCS) += src/libs.doxy_template | 52 DIST-DOCS-$(CONFIG_CODEC_SRCS) += src/libs.doxy_template |
| 51 DIST-DOCS-yes += CHANGELOG | 53 DIST-DOCS-yes += CHANGELOG |
| 52 DIST-DOCS-yes += README | 54 DIST-DOCS-yes += README |
| OLD | NEW |