@@ -31,7 +31,7 @@ EXTRA_DIST =
3131# generated once (can take a looong while), settled into place, and only then
3232# we revisit them for html/pdf rendering (another long while) without randomly
3333# confusing the system with new timestamps and needless regenerations later on.
34- all :
34+ all : @dotMAKE@
3535 @echo " DOC-FOLLOW-UP Basic 'make $@ ' in ` pwd` is done, following up with 'make doc' to ensure complex document types"
3636 +@$(MAKE ) $(AM_MAKEFLAGS ) doc
3737
@@ -218,15 +218,15 @@ CHECK_LOCAL_TARGETS = @DOC_CHECK_LIST@
218218if WITH_SPELLCHECK
219219CHECK_LOCAL_TARGETS += spellcheck
220220endif WITH_SPELLCHECK
221- check-local : $(CHECK_LOCAL_TARGETS )
221+ check-local : $(CHECK_LOCAL_TARGETS ) @dotMAKE@
222222 +@cd $(builddir ) /man && $(MAKE ) $(AM_MAKEFLAGS ) check
223223
224224# Make sure sources are there for out-of-tree builds:
225225all-local all-am-local \
226226$(DOC_BUILD_CHANGELOG_TEXT) $(DOC_BUILD_CHANGELOG_ADOC) \
227227@DOC_BUILD_LIST@ $(ASCIIDOC_PDF ) $(ASCIIDOC_HTML_SINGLE ) $(ASCIIDOC_HTML_CHUNKED ) : $(abs_top_builddir ) /docs/.prep-src-docs
228228
229- all-local :
229+ all-local : @dotMAKE@
230230 +@cd $(builddir ) /man && $(MAKE ) $(AM_MAKEFLAGS ) all-optional
231231
232232# This list is defined by configure script choices and options:
@@ -371,7 +371,7 @@ ChangeLog.html-contentchecked:
371371 exit 1
372372
373373check-html-single : .check-html-single
374- .check-html-single : $(ASCIIDOC_HTML_SINGLE ) Makefile
374+ .check-html-single : $(ASCIIDOC_HTML_SINGLE ) Makefile @dotMAKE@
375375 +@FAILED=" " ; LANG=C; LC_ALL=C; export LANG; export LC_ALL; \
376376 for F in $( ASCIIDOC_HTML_SINGLE) ; do \
377377 test -s " $$ F" && { file " $$ F" | $( EGREP) -i ' (XML|HTML.*document)' > /dev/null ; } || FAILED=" $$ FAILED $$ F" ; \
@@ -408,11 +408,11 @@ check-html-chunked: .check-html-chunked
408408# NOTE; we rig it up with a DOCS_NO_MAN option to simplify parallel work
409409# from top-level Makefile, while allowing legacy "cd docs && make" to
410410# still do the right thing by default :)
411- check-man check-man-man all-man man-man all-html html-man :
411+ check-man check-man-man all-man man-man all-html html-man : @dotMAKE@
412412 +@if [ x" $( DOCS_NO_MAN) " = xtrue ] ; then echo " DOC-NOT-MAN SKIP: $@ called in docs/Makefile" ; exit 0 ; fi ; \
413413 cd $(abs_top_builddir ) /docs/man/ && $(MAKE ) $(AM_MAKEFLAGS ) -f Makefile $@
414414
415- man :
415+ man : @dotMAKE@
416416 +@if [ x" $( DOCS_NO_MAN) " = xtrue ] ; then echo " DOC-NOT-MAN SKIP: $@ called in docs/Makefile" ; exit 0 ; fi ; \
417417 cd $(abs_top_builddir ) /docs/man/ && $(MAKE ) $(AM_MAKEFLAGS ) -f Makefile all
418418
@@ -434,7 +434,7 @@ MAINTAINER_ASCIIDOCS_CHANGELOG_DEBUG = no
434434# Work around some documents that have originally included
435435# the asciidoc markup (use double-hash to avoid conversion).
436436# The $< is okay here, it is used in a suffix rule below
437- .adoc.adoc-parsed :
437+ .adoc.adoc-parsed : @dotMAKE@
438438 +@if [ ! -s ' $<' ] ; then \
439439 echo " DOC-ASCIIDOC-GITHUB-LINKS STRANGE: input $< does not exist or is empty" >&2 ; \
440440 $(MAKE ) $(AM_MAKEFLAGS ) ' $<' ; \
@@ -478,7 +478,7 @@ $(top_builddir)/ChangeLog.adoc-parsed: $(top_builddir)/ChangeLog.adoc
478478CLEANFILES += .ChangeLog.adoc-parsed.latest
479479
480480dummy :
481- $(top_builddir ) /ChangeLog : dummy
481+ $(top_builddir ) /ChangeLog : dummy @dotMAKE@
482482 @+echo " DOC-CHANGELOG-GENERATE-WRAPPER $@ : call parent Makefile to decide if (re-)generation is needed" \
483483 && cd $(top_builddir ) && $(MAKE ) $(AM_MAKEFLAGS ) $(@F )
484484
@@ -581,7 +581,7 @@ solaris-usb.html solaris-usb.chunked solaris-usb.pdf: solaris-usb.txt asciidoc.c
581581# to look at is cause to run a recipe always). We define recipes outside
582582# the suffix-based handling and require *them* for default target builds.
583583ChangeLog.html ChangeLog.chunked ChangeLog.pdf : ChangeLog.txt .ChangeLog.adoc-parsed.latest asciidoc.conf
584- $(top_builddir ) /docs/ChangeLog.html $(top_builddir ) /docs/ChangeLog.chunked $(top_builddir ) /docs/ChangeLog.pdf : ChangeLog.txt $(top_builddir ) /ChangeLog.adoc-parsed asciidoc.conf
584+ $(top_builddir ) /docs/ChangeLog.html $(top_builddir ) /docs/ChangeLog.chunked $(top_builddir ) /docs/ChangeLog.pdf : ChangeLog.txt $(top_builddir ) /ChangeLog.adoc-parsed asciidoc.conf @dotMAKE@
585585 @+if [ -s ' $(@F)' ] && [ x" ` find ' $(@F)' -newer ' $(top_builddir)/ChangeLog.adoc-parsed' ` " != x ] ; then \
586586 echo " DOC-CHANGELOG-RENDER-WRAPPER SKIP: ` pwd` /$( @F) already exists and is newer than ChangeLog.adoc-parsed" ; \
587587 if [ x" $( MAINTAINER_ASCIIDOCS_CHANGELOG_DEBUG) " != xno ] ; then \
@@ -766,9 +766,9 @@ GENERATE_HTML_SINGLE = ( \
766766)
767767
768768*.html : common.xsl xhtml.xsl
769- .txt-prepped.html :
769+ .txt-prepped.html : @dotMAKE@
770770 +@$(GENERATE_HTML_SINGLE )
771- .adoc-prepped.html :
771+ .adoc-prepped.html : @dotMAKE@
772772 +@$(GENERATE_HTML_SINGLE )
773773
774774# Note: extra age check here because *.chunked is a directory and not all
@@ -965,22 +965,22 @@ SPELLCHECK_AUTO_ONE = ( \
965965 || { RES=$$? ; touch '$@ '.failed; exit $$RES; } \
966966)
967967
968- .txt.txt-spellchecked-auto :
968+ .txt.txt-spellchecked-auto : @dotMAKE@
969969 +@$(SPELLCHECK_AUTO_ONE )
970970
971- .adoc.adoc-spellchecked-auto :
971+ .adoc.adoc-spellchecked-auto : @dotMAKE@
972972 +@$(SPELLCHECK_AUTO_ONE )
973973
974- .in.in-spellchecked-auto :
974+ .in.in-spellchecked-auto : @dotMAKE@
975975 +@$(SPELLCHECK_AUTO_ONE )
976976
977- .sample.sample-spellchecked-auto :
977+ .sample.sample-spellchecked-auto : @dotMAKE@
978978 +@$(SPELLCHECK_AUTO_ONE )
979979
980- .conf.conf-spellchecked-auto :
980+ .conf.conf-spellchecked-auto : @dotMAKE@
981981 +@$(SPELLCHECK_AUTO_ONE )
982982
983- spellcheck :
983+ spellcheck : @dotMAKE@
984984 @if test " $( SPELLCHECK_ENV_DEBUG) " = detailed ; then \
985985 echo " ASPELL DEBUG : information about the setup follows:" ; \
986986 LANG=$(ASPELL_ENV_LANG ) ; LC_ALL=$(ASPELL_ENV_LANG ) ; export LANG; export LC_ALL; \
@@ -1069,7 +1069,7 @@ DISTCLEANFILES += $(NUT_SPELL_DICT).bak-pre-sorting $(NUT_SPELL_DICT).bak-pre-in
10691069# that their dictionary was updated and may need a Git recommit - either
10701070# if it did change, or if caller's SPELLCHECK_REPORT_MAYBE_UPDATED_DICT=yes.
10711071SPELLCHECK_REPORT_MAYBE_UPDATED_DICT = no
1072- spellcheck-interactive :
1072+ spellcheck-interactive : @dotMAKE@
10731073 @rm -f $(abs_builddir ) /$(NUT_SPELL_DICT ) .bak-pre-interactive || true
10741074 @cp -pf $(abs_srcdir ) /$(NUT_SPELL_DICT ) $(abs_builddir ) /$(NUT_SPELL_DICT ) .bak-pre-interactive
10751075 +@FAILED=" " ; for docsrc in $( SPELLCHECK_SRC) ; do \
0 commit comments