paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in. |
| 2 | |
paul | 6a22b1f | 2004-11-07 19:39:13 +0000 | [diff] [blame] | 3 | EPSTOPDF = 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 |
| 14 | BUILT_SOURCES = defines.texi |
| 15 | |
paul | 7190f4e | 2003-08-12 12:40:20 +0000 | [diff] [blame] | 16 | info_TEXINFOS = quagga.texi |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 17 | |
hasso | 4857719 | 2004-11-19 06:41:49 +0000 | [diff] [blame] | 18 | CLEANFILES = *.pdf |
paul | 6a22b1f | 2004-11-07 19:39:13 +0000 | [diff] [blame] | 19 | |
| 20 | # The figure sources |
| 21 | figures_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 |
| 27 | quagga.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) |
paul | 76b89b4 | 2004-11-06 17:13:09 +0000 | [diff] [blame] | 31 | |
paul | 5282d6e | 2003-08-13 04:55:13 +0000 | [diff] [blame] | 32 | quagga_TEXINFOS = appendix.texi basic.texi bgpd.texi filter.texi install.texi \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 33 | ipv6.texi kernel.texi main.texi ospf6d.texi ospfd.texi overview.texi \ |
paul | e050db2 | 2004-11-08 16:28:39 +0000 | [diff] [blame] | 34 | protocol.texi ripd.texi ripngd.texi routemap.texi snmp.texi \ |
| 35 | vtysh.texi routeserver.texi defines.texi $(figures_SOURCES) |
paul | 6a22b1f | 2004-11-07 19:39:13 +0000 | [diff] [blame] | 36 | |
| 37 | %.pdf: %.eps |
| 38 | $(EPSTOPDF) --outfile="$@" $< |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 39 | |
hasso | ee3e115 | 2004-12-18 15:59:25 +0000 | [diff] [blame] | 40 | man_MANS = vtysh.1 bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8 isisd.8 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 41 | |
gdt | f2bfdee | 2004-06-30 17:25:15 +0000 | [diff] [blame] | 42 | EXTRA_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 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 45 | |
| 46 | draft-zebra-00.txt: |
| 47 | groff -T ascii -ms draft-zebra-00.ms > draft-zebra-00.txt |