File tree 3 files changed +18
-4
lines changed
3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,14 @@ spellcheck spellcheck-interactive:
108
108
(cd $( builddir) /data && $( MAKE) -s $@ ) || RES=$$? ; \
109
109
exit $$ RES
110
110
111
- doc spellcheck-sortdict :
111
+ # Note: the "all-docs" and "check-docs" targets may require tools not
112
+ # found by `configure` script (and so avoided by conventional recipes)
113
+ # such as PDF generators, so it should only be called at developer's
114
+ # discretion, choice and risk. The "check-man" targets covers source
115
+ # texts, man pages and HTML rendering of man pages, as enabled by tools.
116
+ doc spellcheck-sortdict \
117
+ all-docs check-docs \
118
+ man all-man man-man check-man man-html all-html :
112
119
cd $(srcdir ) /docs && $(MAKE ) $@
113
120
114
121
# This target adds syntax-checking for committed shell script files,
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ doc: @DOC_BUILD_LIST@
87
87
88
88
# This target can be called by developers to go around the configure
89
89
# script choices at their risk (e.g. missing tools are possible):
90
- docs : pdf html-single html-chunked man
90
+ docs : pdf html-single html-chunked man-man html-man
91
91
92
92
all-docs : docs
93
93
@@ -130,7 +130,10 @@ check-html-chunked: $(ASCIIDOC_HTML_CHUNKED)
130
130
131
131
# Note: usually the results from man-page check will be reported twice:
132
132
# once as a SUBDIRS child makefile, and once via DOC_CHECK_LIST expansion
133
- check-man :
133
+ # Note: default `make all` in the man directory caters to drivers etc.
134
+ # chosen during configure script execution. The "all-man" and "all-html"
135
+ # rules build everything documented.
136
+ check-man all-man man-man all-html html-man :
134
137
cd $(top_builddir ) /docs/man/ && $(MAKE ) -f Makefile $@
135
138
136
139
man :
Original file line number Diff line number Diff line change @@ -735,7 +735,11 @@ HTML_MANS = \
735
735
736
736
all :
737
737
738
- html-man : $(HTML_MANS ) index.html
738
+ all-html html-man : $(HTML_MANS ) index.html
739
+
740
+ # Have a way to build all man pages, not just those that fit currently
741
+ # configured drivers, daemons, developer aspect, etc.
742
+ all-man man-man : $(MAN_MANS )
739
743
740
744
if WITH_MANS
741
745
if ! SKIP_MANS
You can’t perform that action at this time.
0 commit comments