Blame doc/Makefile.am

Packit Service 9402ce
# Copyright (c) 2007-2011 Intel Corporation. All Rights Reserved.
Packit Service 9402ce
#
Packit Service 9402ce
# Permission is hereby granted, free of charge, to any person obtaining a
Packit Service 9402ce
# copy of this software and associated documentation files (the
Packit Service 9402ce
# "Software"), to deal in the Software without restriction, including
Packit Service 9402ce
# without limitation the rights to use, copy, modify, merge, publish,
Packit Service 9402ce
# distribute, sub license, and/or sell copies of the Software, and to
Packit Service 9402ce
# permit persons to whom the Software is furnished to do so, subject to
Packit Service 9402ce
# the following conditions:
Packit Service 9402ce
#
Packit Service 9402ce
# The above copyright notice and this permission notice (including the
Packit Service 9402ce
# next paragraph) shall be included in all copies or substantial portions
Packit Service 9402ce
# of the Software.
Packit Service 9402ce
#
Packit Service 9402ce
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
Packit Service 9402ce
# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Packit Service 9402ce
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
Packit Service 9402ce
# IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
Packit Service 9402ce
# ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
Packit Service 9402ce
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
Packit Service 9402ce
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Packit Service 9402ce
Packit Service 9402ce
all: html
Packit Service 9402ce
install-data-local: install-html
Packit Service 9402ce
Packit Service 9402ce
EXTRA_DIST = \
Packit Service 9402ce
	Doxyfile.in			\
Packit Service 9402ce
	$(NULL)
Packit Service 9402ce
Packit Service 9402ce
VA_HEADER_DIR   = $(top_srcdir)/va
Packit Service 9402ce
VA_HEADER_FILES = \
Packit Service 9402ce
	$(VA_HEADER_DIR)/va.h		\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_enc_h264.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_enc_mpeg2.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_enc_jpeg.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_enc_hevc.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_enc_vp8.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_enc_vp9.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_fei.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_fei_h264.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_fei_hevc.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_dec_hevc.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_dec_jpeg.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_dec_vp8.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_dec_vp9.h	\
Packit Service 9402ce
	$(VA_HEADER_DIR)/va_vpp.h	\
Packit Service 9402ce
	$(NULL)
Packit Service 9402ce
Packit Service 9402ce
VA_HTML_FOOTER		= $(top_srcdir)/doc/va_footer.html
Packit Service 9402ce
Packit Service 9402ce
Doxyfile: Doxyfile.in $(VA_HEADER_FILES) $(VA_HTML_FOOTER)
Packit Service 9402ce
	$(AM_V_GEN) $(SED) 					\
Packit Service 9402ce
           -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):"	\
Packit Service 9402ce
           -e "s:\@VA_HEADER_DIR\@:$(VA_HEADER_DIR):" 		\
Packit Service 9402ce
           -e "s:\@VA_HEADER_FILES\@:$(VA_HEADER_FILES):"	\
Packit Service 9402ce
           -e "s:\@VA_HTML_FOOTER\@:$(VA_HTML_FOOTER):"	\
Packit Service 9402ce
           -e "s:\@OUTDIR\@::" 				\
Packit Service 9402ce
           $< > $@
Packit Service 9402ce
Packit Service 9402ce
html-out/index.html: Doxyfile
Packit Service 9402ce
	$(AM_V_GEN) $(DOXYGEN)
Packit Service 9402ce
Packit Service 9402ce
html: html-out/index.html
Packit Service 9402ce
Packit Service 9402ce
install-html-local:
Packit Service 9402ce
	install -d $(DESTDIR)$(docdir)/html
Packit Service 9402ce
	for file in `ls html-out/` ; do \
Packit Service 9402ce
	    if test -f html-out/$$file ; then \
Packit Service 9402ce
		install -m 0644 html-out/$$file $(DESTDIR)$(docdir)/html ; \
Packit Service 9402ce
	    else \
Packit Service 9402ce
		install -d $(DESTDIR)$(docdir)/html/$$file ; \
Packit Service 9402ce
		install -m 0644 html-out/$$file/* $(DESTDIR)$(docdir)/html/$$file; \
Packit Service 9402ce
	    fi ; \
Packit Service 9402ce
	done
Packit Service 9402ce
Packit Service 9402ce
uninstall-local:
Packit Service 9402ce
	$(RM) -rf $(DESTDIR)$(docdir)/html
Packit Service 9402ce
Packit Service 9402ce
clean-local:
Packit Service 9402ce
	$(RM) -rf html-out latex
Packit Service 9402ce
Packit Service 9402ce
# Extra clean files so that maintainer-clean removes *everything*
Packit Service 9402ce
MAINTAINERCLEANFILES = Makefile.in Doxyfile