aboutsummaryrefslogtreecommitdiff
path: root/doc/process-guide/Makefile.am
blob: 1abaf7e4ce31a3fe709c258a10f94c71daa0f6d8 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
include ../Makefile.inc

IMAGES =   $(top_srcdir)/doc/images/aboutODP1.svg \
	   $(top_srcdir)/doc/images/aboutODP2.svg \
	   $(top_srcdir)/doc/images/aboutODP3.svg \
	   $(top_srcdir)/doc/images/packet_flow.svg \
	   $(top_srcdir)/doc/images/aboutODP5.svg \
	   $(top_srcdir)/doc/images/overview.svg

EXTRA_DIST = $(top_srcdir)/doc/process-guide/bylaws-guide.adoc \
	     $(top_srcdir)/doc/process-guide/release-guide.adoc \
	     $(top_srcdir)/doc/process-guide/faq.adoc \
	     $(top_srcdir)/CONTRIBUTING \
	     $(IMAGES)

all-local: bylaws-guide.html \
	   release-guide.html \
	   faq.html \
	   CONTRIBUTING.html \
	   CHANGELOG.html

clean-local:
	rm -f $(builddir)/bylaws-guide.html
	rm -f $(builddir)/release-guide.html
	rm -f $(builddir)/faq.html
	rm -f $(builddir)/CONTRIBUTING.html
	rm -f $(builddir)/CHANGELOG.html

release-guide.html: $(top_srcdir)/doc/process-guide/release-guide.adoc \
		    $(top_srcdir)/doc/images/simple_release_git.svg \
		    $(top_srcdir)/doc/images/release_git.svg

bylaws-guide.html:  $(top_srcdir)/doc/process-guide/bylaws-guide.adoc

faq.html:  $(top_srcdir)/doc/process-guide/faq.adoc \
	   $(IMAGES)

#special case is not postfixed .adoc
CONTRIBUTING.html:  $(top_srcdir)/CONTRIBUTING
	asciidoctor $(ASCIIDOC_FLAGS) --out-file=$@ $<

CHANGELOG.html:  $(top_srcdir)/CHANGELOG
	asciidoctor $(ASCIIDOC_FLAGS) --out-file=$@ $<

#add deps on images

doc_DATA = bylaws-guide.html release-guide.html CONTRIBUTING.html faq.html CHANGELOG.html