Browse code

bb 11060 - Only install clamsubmit manpage if clamsubmit is built

Shawn Webb authored on 2014/07/26 03:32:04
Showing 2 changed files
... ...
@@ -17,4 +17,8 @@
17 17
 #  MA 02110-1301, USA.
18 18
 
19 19
 EXTRA_DIST = html $(top_srcdir)/docs/man/*.in clamdoc.pdf clamdoc.tex clamav-mirror-howto.pdf clamav-mirror-howto.tex phishsigs_howto.tex phishsigs_howto.pdf signatures.pdf signatures.tex clam.eps
20
-man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 man/clamav-milter.conf.5 man/freshclam.conf.5 man/clamconf.1 man/clamdtop.1 man/clambc.1 man/clamsubmit.1
20
+man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 man/clamav-milter.conf.5 man/freshclam.conf.5 man/clamconf.1 man/clamdtop.1 man/clambc.1
21
+
22
+if ENABLE_CLAMSUBMIT
23
+man_MANS += man/clamsubmit.1
24
+endif
... ...
@@ -96,6 +96,7 @@ POST_UNINSTALL = :
96 96
 build_triplet = @build@
97 97
 host_triplet = @host@
98 98
 target_triplet = @target@
99
+@ENABLE_CLAMSUBMIT_TRUE@am__append_1 = man/clamsubmit.1
99 100
 subdir = docs
100 101
 DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
101 102
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
... ...
@@ -419,7 +420,10 @@ top_build_prefix = @top_build_prefix@
419 419
 top_builddir = @top_builddir@
420 420
 top_srcdir = @top_srcdir@
421 421
 EXTRA_DIST = html $(top_srcdir)/docs/man/*.in clamdoc.pdf clamdoc.tex clamav-mirror-howto.pdf clamav-mirror-howto.tex phishsigs_howto.tex phishsigs_howto.pdf signatures.pdf signatures.tex clam.eps
422
-man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 man/clamav-milter.conf.5 man/freshclam.conf.5 man/clamconf.1 man/clamdtop.1 man/clambc.1 man/clamsubmit.1
422
+man_MANS = man/clamscan.1 man/freshclam.1 man/sigtool.1 man/clamd.8 \
423
+	man/clamd.conf.5 man/clamdscan.1 man/clamav-milter.8 \
424
+	man/clamav-milter.conf.5 man/freshclam.conf.5 man/clamconf.1 \
425
+	man/clamdtop.1 man/clambc.1 $(am__append_1)
423 426
 all: all-am
424 427
 
425 428
 .SUFFIXES: