build: Add some directories to .gitignore
[bendy-bus:bendy-bus.git] / bendy-bus / docs / manual / Makefile.am
1 include $(top_srcdir)/gnome-doc-utils.make
2 dist-hook: doc-dist-hook
3
4 DOC_ID = bendy-bus
5 DOC_LINGUAS =
6 DOC_FIGURES =
7 DOC_PAGES = \
8         data-structures.page \
9         expressions.page \
10         functions.page \
11         index.page \
12         language.page \
13         objects.page \
14         preconditions.page \
15         statements.page \
16         structure.page \
17         transitions.page \
18         $(NULL)
19
20 GITIGNOREFILES = \
21         $(_DOC_LC_PAGES) \
22         $(_DOC_MOFILES) \
23         html/ \
24         xhtml/ \
25         $(NULL)
26
27 html:
28         rm -rf $(builddir)/html && mkdir $(builddir)/html && \
29         yelp-build html -o $(builddir)/html $(addprefix C/,$(DOC_PAGES))
30
31 xhtml:
32         rm -rf $(builddir)/xhtml && mkdir $(builddir)/xhtml && \
33         yelp-build html -o $(builddir)/xhtml $(addprefix C/,$(DOC_PAGES))
34
35 check: check-yelp
36 check-yelp:
37         $(foreach command,links orphans status validate, \
38                 yelp-check $(command) $(addprefix C/,$(DOC_PAGES)); \
39         )
40
41 maintainer-clean-local: maintainer-clean-manual
42 maintainer-clean-manual: clean
43         rm -rf $(builddir)/html $(builddir)/xhtml
44
45 .PHONY: html xhtml check-yelp maintainer-clean-manual
46
47 -include $(top_srcdir)/git.mk