2 ## Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
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
6 ## tree. An additional intellectual property rights grant can be found
7 ## in the file PATENTS. All contributing project authors may
8 ## be found in the AUTHORS file in the root of the source tree.
12 INSTALL_MAPS
+= docs
/% docs
/%
13 INSTALL_MAPS
+= src
/% %
16 # Static documentation authored in doxygen
17 CODEC_DOX
:= mainpage.dox \
23 # Other doxy files sourced in Markdown
24 TXT_DOX-
$(CONFIG_VP8
) += vp8_api1_migration.dox
25 vp8_api1_migration.dox.DESC
= VP8 API
1.x Migration
27 TXT_DOX
= $(call enabled
,TXT_DOX
)
31 @
$(SRC_PATH_BARE
)/examples
/gen_example_doxy.php \
32 $(@
:.dox
=) "$($@.DESC)" > $@
< $<
35 EXAMPLE_PATH
+= $(SRC_PATH_BARE
) #for CHANGELOG, README, etc
37 doxyfile
: libs.doxy_template libs.doxy examples.doxy
40 @echo
"STRIP_FROM_PATH += $(SRC_PATH_BARE) $(BUILD_ROOT)" >> $@
41 @echo
"INPUT += $(addprefix $(SRC_PATH_BARE)/,$(CODEC_DOX))" >> $@
;
42 @echo
"INPUT += $(TXT_DOX)" >> $@
;
43 @echo
"EXAMPLE_PATH += $(EXAMPLE_PATH)" >> $@
45 CLEAN-OBJS
+= doxyfile
$(wildcard docs
/html
/*)
46 docs
/html
/index.html
: doxyfile
$(CODEC_DOX
) $(TXT_DOX
)
49 DOCS-yes
+= docs
/html
/index.html
51 DIST-DOCS-yes
= $(wildcard docs
/html
/*)
52 DIST-DOCS-
$(CONFIG_CODEC_SRCS
) += $(addprefix src
/,$(CODEC_DOX
))
53 DIST-DOCS-
$(CONFIG_CODEC_SRCS
) += src
/libs.doxy_template
54 DIST-DOCS-yes
+= CHANGELOG
55 DIST-DOCS-yes
+= README