summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
blob: bcf55e24f2cfe156d2d3db7bd25fb71ec482e2ea (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
## Process this file with automake to produce Makefile.in.

EPSTOPDF = epstopdf

# rather twisted logic because we have to build PDFs of the EPS figures
# and yet build one PDF, quagga.pdf, from texi source. Which means we cant
# rely on a single automatic rule for *.pdf.
# If you are an automake wizard, please feel free to compact it somehow.
#figures_pdfs = Normal-Announcement-processing.eps \
#	       RS-Announcement-processing.eps \
#	       topologias_full.eps topologias_rs.eps 

# Built from defines.texi.in
BUILT_SOURCES = defines.texi

info_TEXINFOS = quagga.texi

CLEANFILES = *.pdf

# The figure sources
figures_SOURCES = fig-normal-processing.eps \
		  fig_topologies_full.eps \
		  fig-rs-processing.eps \
		  fig_topologies_rs.eps

# Have to manually 		  
quagga.pdf: quagga.texi \
            fig-normal-processing.pdf fig_topologies_full.pdf \
	    fig-rs-processing.pdf fig_topologies_rs.pdf
	$(TEXI2PDF) -o "$@" $(info_TEXINFOS)

quagga_TEXINFOS = appendix.texi basic.texi bgpd.texi filter.texi install.texi \
	ipv6.texi kernel.texi main.texi ospf6d.texi ospfd.texi overview.texi \
	protocol.texi ripd.texi ripngd.texi routemap.texi snmp.texi vtysh.texi \
	defines.texi $(figures_SOURCES)

%.pdf: %.eps
	$(EPSTOPDF) --outfile="$@" $<

man_MANS = vtysh.1 bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8

EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt $(man_MANS) \
	mpls/ChangeLog.opaque.txt mpls/cli_summary.txt \
	mpls/opaque_lsa.txt mpls/ospfd.conf

draft-zebra-00.txt:
	groff -T ascii -ms draft-zebra-00.ms > draft-zebra-00.txt