blob: bcf55e24f2cfe156d2d3db7bd25fb71ec482e2ea [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with automake to produce Makefile.in.
2
paul6a22b1f2004-11-07 19:39:13 +00003EPSTOPDF = epstopdf
4
5# rather twisted logic because we have to build PDFs of the EPS figures
6# and yet build one PDF, quagga.pdf, from texi source. Which means we cant
7# rely on a single automatic rule for *.pdf.
8# If you are an automake wizard, please feel free to compact it somehow.
9#figures_pdfs = Normal-Announcement-processing.eps \
10# RS-Announcement-processing.eps \
11# topologias_full.eps topologias_rs.eps
12
13# Built from defines.texi.in
14BUILT_SOURCES = defines.texi
15
paul7190f4e2003-08-12 12:40:20 +000016info_TEXINFOS = quagga.texi
paul718e3742002-12-13 20:15:29 +000017
paul6a22b1f2004-11-07 19:39:13 +000018CLEANFILES = *.pdf
19
20# The figure sources
21figures_SOURCES = fig-normal-processing.eps \
22 fig_topologies_full.eps \
23 fig-rs-processing.eps \
24 fig_topologies_rs.eps
25
26# Have to manually
27quagga.pdf: quagga.texi \
28 fig-normal-processing.pdf fig_topologies_full.pdf \
29 fig-rs-processing.pdf fig_topologies_rs.pdf
30 $(TEXI2PDF) -o "$@" $(info_TEXINFOS)
paul76b89b42004-11-06 17:13:09 +000031
paul5282d6e2003-08-13 04:55:13 +000032quagga_TEXINFOS = appendix.texi basic.texi bgpd.texi filter.texi install.texi \
paul718e3742002-12-13 20:15:29 +000033 ipv6.texi kernel.texi main.texi ospf6d.texi ospfd.texi overview.texi \
paul76b89b42004-11-06 17:13:09 +000034 protocol.texi ripd.texi ripngd.texi routemap.texi snmp.texi vtysh.texi \
paul6a22b1f2004-11-07 19:39:13 +000035 defines.texi $(figures_SOURCES)
36
37%.pdf: %.eps
38 $(EPSTOPDF) --outfile="$@" $<
paul718e3742002-12-13 20:15:29 +000039
40man_MANS = vtysh.1 bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8
41
gdtf2bfdee2004-06-30 17:25:15 +000042EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt $(man_MANS) \
43 mpls/ChangeLog.opaque.txt mpls/cli_summary.txt \
44 mpls/opaque_lsa.txt mpls/ospfd.conf
paul718e3742002-12-13 20:15:29 +000045
46draft-zebra-00.txt:
47 groff -T ascii -ms draft-zebra-00.ms > draft-zebra-00.txt