99@NUT_AM_MAKE_CAN_EXPORT@@NUT_AM_EXPORT_CCACHE_PATH@export CCACHE_PATH=@CCACHE_PATH@
1010@NUT_AM_MAKE_CAN_EXPORT@@NUT_AM_EXPORT_CCACHE_PATH@export PATH=@PATH_DURING_CONFIGURE@
1111
12- # First target defines default behavior: all
12+ # First target often defines default behavior: all
1313# We follow up with another pass to `make doc` because our wild recipes
1414# sometimes preclude generating all of them on the first pass (FIXME!)
15- # missing e.g. PDF and HTML which then pop up in `make check` footprint.
16- all : all-recursive
15+ # missing e.g. PDF and HTML which then pop up in `make check` footprint,
16+ # or misses a .prep-src-docs stage needed to pattern-make man page files
17+ # with some "make" implementations...
18+ all all-am-local all-local : doc all-recursive
1719 +@$(MAKE ) $(AM_MAKEFLAGS ) doc
1820
1921# include directory for aclocal
@@ -148,7 +150,7 @@ distclean-local:
148150spellcheck spellcheck-interactive :
149151 +@RES=0; \
150152 (cd $( builddir) /docs && $( MAKE) $( AM_MAKEFLAGS) -s $( abs_top_builddir) /docs/.prep-src-docs) || RES=$$? ; \
151- (cd $( builddir) /docs/man && $( MAKE) $( AM_MAKEFLAGS) -s $( abs_top_builddir) /docs/.prep-src-docs) || RES=$$? ; \
153+ (cd $( builddir) /docs/man && $( MAKE) $( AM_MAKEFLAGS) -s $( abs_top_builddir) /docs/man/ .prep-src-docs) || RES=$$? ; \
152154 (cd $( builddir) /docs && $( MAKE) $( AM_MAKEFLAGS) -s $@ ) || RES=$$? ; \
153155 (cd $( builddir) /docs/man && $( MAKE) $( AM_MAKEFLAGS) -s $@ ) || RES=$$? ; \
154156 (cd $( builddir) /conf && $( MAKE) $( AM_MAKEFLAGS) -s $@ ) || RES=$$? ; \
@@ -175,10 +177,12 @@ spellcheck spellcheck-interactive:
175177doc spellcheck-sortdict \
176178all-docs check-docs \
177179man all-man man-man check-man man-html all-html :
178- +cd $(builddir ) /docs && $(MAKE ) $(AM_MAKEFLAGS ) $@
180+ +cd $(abs_top_builddir ) /docs && $(MAKE ) $(AM_MAKEFLAGS ) -s $(abs_top_builddir ) /docs/.prep-src-docs
181+ +cd $(abs_top_builddir ) /docs/man && $(MAKE ) $(AM_MAKEFLAGS ) -s $(abs_top_builddir ) /docs/man/.prep-src-docs
182+ +cd $(abs_top_builddir ) /docs && $(MAKE ) $(AM_MAKEFLAGS ) $@
179183
180184INSTALL.nut UPGRADING NEWS README :
181- +cd $(builddir ) /docs && $(MAKE ) $(AM_MAKEFLAGS ) ../$(@F ) .adoc-parsed && cp -f ../$(@F ) .adoc-parsed ../$(@F )
185+ +cd $(abs_top_builddir ) /docs && $(MAKE ) $(AM_MAKEFLAGS ) ../$(@F ) .adoc-parsed && cp -f ../$(@F ) .adoc-parsed ../$(@F )
182186
183187# Workarounds for https://github.com/github/markup/issues/1095
184188# require direct definition of our attributes in each source
0 commit comments