summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2012-04-30 17:36:15 +0200
committerDavid Lamparter <equinox@diac24.net>2012-05-01 17:51:26 +0200
commitf027d331fc24c0b4aed77ab7507a9635db313f3c (patch)
tree9225361fe97a2b0f03ff6d1b5e99b2bb861b5c90 /doc
parenttools: use standard interpreter path in all Perl scripts (diff)
downloadfrr-f027d331fc24c0b4aed77ab7507a9635db313f3c.tar.xz
frr-f027d331fc24c0b4aed77ab7507a9635db313f3c.zip
doc: only package man pages for daemons that are built
Signed-off-by: David Ward <david.ward@ll.mit.edu> Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am38
1 files changed, 36 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dde95ab30..4ba8f814e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -61,9 +61,43 @@ quagga_TEXINFOS = appendix.texi babeld.texi basic.texi bgpd.texi filter.texi \
.dia.png:
$(DIATOPNG) "$@" $<
-man_MANS = vtysh.1 bgpd.8 ospf6d.8 ospfd.8 ripd.8 ripngd.8 zebra.8 isisd.8
+man_MANS =
-EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt $(man_MANS) \
+if BGPD
+man_MANS += bgpd.8
+endif
+
+if ISISD
+man_MANS += isisd.8
+endif
+
+if OSPF6D
+man_MANS += ospf6d.8
+endif
+
+if OSPFD
+man_MANS += ospfd.8
+endif
+
+if RIPD
+man_MANS += ripd.8
+endif
+
+if RIPNGD
+man_MANS += ripngd.8
+endif
+
+if VTYSH
+man_MANS += vtysh.1
+endif
+
+if ZEBRA
+man_MANS += zebra.8
+endif
+
+EXTRA_DIST = BGP-TypeCode draft-zebra-00.ms draft-zebra-00.txt \
+ bgpd.8 isisd.8 ospf6d.8 ospfd.8 ripd.8 \
+ ripngd.8 vtysh.1 zebra.8 \
mpls/ChangeLog.opaque.txt mpls/cli_summary.txt \
mpls/opaque_lsa.txt mpls/ospfd.conf \
$(figures_sources) $(figures_png) $(figures_txt)