summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: 27f492c54f786e2cb6cd00add77f20d10a44c177 (plain)
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
29
30
31
32

EXTRA_DIST = \
tutorial/index.html \
tutorial/xcb.css \
xcb.doxygen.in

htmlDATA_INSTALL = cp -pR

html_DATA = tutorial/

uninstall-htmlDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(html_DATA)'; for p in $$list; do \
	  f=$(am__strip_dir) \
	  echo " rm -rf '$(DESTDIR)$(htmldir)/$$f'"; \
	  rm -rf "$(DESTDIR)$(htmldir)/$$f"; \
	done
	rmdir "$(DESTDIR)$(htmldir)/" || true

if BUILD_DOCS

# rule to build documentation and copy necessary files
manual: clean-local
	doxygen xcb.doxygen

# rules to clean
clean-local:
	rm -rf manual/

html_DATA += manual/

endif