File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -31,11 +31,11 @@ EXTRA_DIST = \
31
31
what-is-suricata.rst
32
32
33
33
if HAVE_SURICATA_MAN
34
- dist_man1_MANS = suricata.1
34
+ dist_man1_MANS = suricata.1 suricatasc.1 suricatactl.1 suricatactl-filestore.1
35
35
endif
36
36
37
37
if HAVE_SPHINXBUILD
38
- dist_man1_MANS = suricata.1
38
+ dist_man1_MANS = suricata.1 suricatasc.1 suricatactl.1 suricatactl-filestore.1
39
39
40
40
if HAVE_PDFLATEX
41
41
EXTRA_DIST += userguide.pdf
@@ -70,22 +70,23 @@ userguide.pdf: _build/latex/Suricata.pdf
70
70
71
71
pdf : userguide.pdf
72
72
73
- _build/man/suricata.1 :
73
+ _build/man : manpages /suricata.rst manpages/suricatasc.rst manpages/suricatactl.rst manpages/suricatactl-filestore.rst
74
74
sysconfdir=$(sysconfdir ) \
75
75
localstatedir=$(localstatedir ) \
76
76
version=$(PACKAGE_VERSION ) \
77
77
$(SPHINX_BUILD ) -W -b man -d _build/doctrees \
78
78
$(top_srcdir ) /doc/userguide _build/man
79
+ touch _build/man
79
80
80
- suricata.1 : _build/man/suricata.1
81
- cp _build/man/suricata.1 suricata.1
81
+ $( dist_man1_MANS ) : _build/man
82
+ cp _build/man/$@ .
82
83
83
- man : _build/man/suricata.1
84
+ man : $( dist_man1_MANS )
84
85
85
86
# Remove build artifacts that aren't tracked by autotools.
86
87
clean-local :
87
88
rm -rf $(top_builddir ) /doc/userguide/_build
88
- rm -f $(top_builddir ) /doc/userguide/suricata.1
89
+ rm -f $(top_builddir ) /doc/userguide/suricata* .1
89
90
rm -f $(top_builddir ) /doc/userguide/userguide.pdf
90
91
91
92
endif # HAVE_SPHINXBUILD
You can’t perform that action at this time.
0 commit comments