'LIBTOOL' => !! var ('LIBTOOL'),
'NONLIBTOOL' => 1,
-
+ 'HANDLE-EXEEXT' => (exists $configure_vars{'EXEEXT'} ?
+ 'TRUE' : 'FALSE'),
+ 'SILENT' => silent_flag (),
-
%transform);
if (! defined ($_ = $am_file_cache{$file}))
VPATH = @srcdir@
+## Makefiles generated by Automake-NG require GNU make >= 3.81.
+## The .FEATURES special variable has been introduced in that make
+## version, so use it as a witness to determine whether the current
+## make is good enough.
+$(if $(.FEATURES),, \
+ $(error Automake-NG based builds require GNU make 3.81 or later))
+
+ am__mkdir = test -d $1 || $(MKDIR_P) $1
+
+ # In a recipe, ensure the given directory exists, creating it if
+ # necessary; but tries to do so avoiding useless forks, stats, and
+ # extra recipe text (the latter is useful when doing "make V=1").
+ # If the target has no directory component, or if the parent
+ # directory of the target already exists, we have nothing to do, so
+ # try to optimize for those cases -- especially because, for our
+ # usage patterns, one of them should always be true in non-VPATH
+ # builds.
+ am__ensure_dir_exists = \
+ $(if $(filter .,$1),:,$(if $(wildcard $1/),:,$(call am__mkdir,$1)))
+
+ # Ensure the directory containing the target of the current recipe
+ # exists, by creating it if necessary.
+ am__ensure_target_dir_exists = $(call am__ensure_dir_exists,$(@D))
+
## The 'all' target must be the default one, independently from the
## position it is declared in the output Makefile.
.DEFAULT_GOAL := all
## (Not configure.ac, because not all setups define the version number
## in this file.)
%STAMPVTI%: %TEXI% $(top_srcdir)/configure
- ## It is wrong to have %STAMPVTI% dependent on %DIRSTAMP%, because
- ## %STAMPVTI% is distributed and %DIRSTAMP% isn't: a distributed file
- ## should never be dependent upon a non-distributed built file.
- ## Therefore we ensure that %DIRSTAMP% exists in the rule.
- ?DIRSTAMP? test -f %DIRSTAMP% || $(MAKE) %DIRSTAMP%
+ @$(am__ensure_target_dir_exists)
- @(dir=.; test -f ./%TEXI% || dir=$(srcdir); \
- set `$(SHELL) %MDDIR%mdate-sh $$dir/%TEXI%`; \
+ @(set `$(SHELL) %MDDIR%mdate-sh $<`; \
echo "@set UPDATED $$1 $$2 $$3"; \
echo "@set UPDATED-MONTH $$2 $$3"; \
echo "@set EDITION $(VERSION)"; \
## Use '--clean' to avoid leaving auxiliary files behind cluttering the build
## directory (see automake bug#11146). We should start using '--tidy' when we
## can assume Texinf 4.9 or later.
-?GENERIC? $(TEXI2DVI) %TEXIQUIET% --clean %SOURCE% %TEXIDEVNULL%
-?!GENERIC? $(TEXI2DVI) %TEXIQUIET% --clean -o $@ `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% %TEXIDEVNULL%
+ $(TEXI2DVI) %TEXIQUIET% --clean -o $@ $< %TEXIDEVNULL%
?GENERIC?%.pdf: %%SOURCE_SUFFIX%
- ?!GENERIC?%DEST_PREFIX%.pdf: %SOURCE% %DEPS% %DIRSTAMP%
- %AM_V_TEXI2PDF%TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
+ ?!GENERIC?%DEST_PREFIX%.pdf: %SOURCE% %DEPS%
+ %AM_V_TEXI2PDF%$(am__ensure_target_dir_exists) && \
+ TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
## Must set MAKEINFO like this so that version.texi will be found even
## if it is in srcdir (-I $(srcdir) is set in %MAKEINFOFLAGS%).
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) %MAKEINFOFLAGS%' \
## Use '--clean' to avoid leaving auxiliary files behind cluttering the build
## directory (see automake bug#11146). We should start using '--tidy' when we
## can assume Texinf 4.9 or later.
-?GENERIC? $(TEXI2PDF) %TEXIQUIET% --clean %SOURCE% %TEXIDEVNULL%
-?!GENERIC? $(TEXI2PDF) %TEXIQUIET% --clean -o $@ `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% %TEXIDEVNULL%
+ $(TEXI2PDF) %TEXIQUIET% --clean -o $@ $< %TEXIDEVNULL%
?GENERIC?%.html: %%SOURCE_SUFFIX%
- ?!GENERIC?%DEST_PREFIX%.html: %SOURCE% %DEPS% %DIRSTAMP%
+ ?!GENERIC?%DEST_PREFIX%.html: %SOURCE% %DEPS%
+ %SILENT%$(am__ensure_target_dir_exists)
## When --split (the default) is used, makeinfo will output a
## directory. However it will not update the time stamp of a
## previously existing directory, and when the names of the nodes