summaryrefslogtreecommitdiff
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2012-04-30 11:36:15 -0400
committerDavid Lamparter <equinox@diac24.net>2012-05-01 17:51:26 +0200
commitf027d331fc24c0b4aed77ab7507a9635db313f3c (patch)
tree9225361fe97a2b0f03ff6d1b5e99b2bb861b5c90 /doc/Makefile.am
parent2e14a748061921f1f656b07890c4932f97c2baaa (diff)
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/Makefile.am')
-rw-r--r--doc/Makefile.am38
1 files changed, 36 insertions, 2 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index dde95ab3..4ba8f814 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)