summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: e9ba15ccdec918370642a5d26dc8a481deff9fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
all: html
install-data-local: install-html

VDPAU_HEADER_DIR := $(top_srcdir)/include
VDPAU_HEADER_FILES := \
    $(VDPAU_HEADER_DIR)/vdpau/vdpau.h \
    $(VDPAU_HEADER_DIR)/vdpau/vdpau_x11.h

export VDPAU_HEADER_DIR
export VDPAU_HEADER_FILES
html-out/%: Doxyfile $(VDPAU_HEADER_FILES)
	$(DOXYGEN) $<

if ENABLE_DOCS
html: html-out/index.html
install-html-local:
	$(install_sh) -d $(DESTDIR)$(docdir)/html
	$(install_sh) -m 644 html-out/* $(DESTDIR)$(docdir)/html
endif

clean-local:
	$(RM) -r html-out