File: Makefile.am

package info (click to toggle)
libvdpau 0.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 2,264 kB
  • sloc: sh: 11,091; cpp: 4,204; ansic: 1,376; makefile: 110
file content (28 lines) | stat: -rw-r--r-- 616 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
all: html
install-data-local: install-html

EXTRA_DIST = \
    Doxyfile \
    vdpau_data_flow.png

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"
uninstall-local:
	$(RM) -r "$(DESTDIR)$(docdir)/html"
endif

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