+2002-09-25 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * automake.in (output_texinfo_build_rules): Define %SOURCE_REAL%.
+ * lib/am/texibuild.am (%DEST_PREFIX%%DEST_SUFFIX%,
+ %DEST_PREFIX%.dvi, %DEST_PREFIX%.pdf): Add %SOURCE_REAL% as dependency.
+
2002-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* lib/am/ltlib.am (clean-%DIR%LTLIBRARIES): Use $$dir in make
TEXINPUTS="$(am__TEXINFO_TEX_DIR)$(PATH_SEPARATOR)$$TEXINPUTS" \
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
$(TEXI2PDF) `test -f '$<' || echo '$(srcdir)/'`$<
-automake.info: version.texi
-automake.dvi: version.texi
-automake.pdf: version.texi
+automake.info: automake.texi version.texi
+automake.dvi: automake.texi version.texi
+automake.pdf: automake.texi version.texi
version.texi: stamp-vti
stamp-vti: automake.texi $(top_srcdir)/configure.in
@(dir=.; test -f ./automake.texi || dir=$(srcdir); \
GENERIC => $generic,
SOURCE_SUFFIX => $ssfx,
SOURCE => ($generic ? '$<' : $source),
+ SOURCE_REAL => $source,
DEST_PREFIX => $dpfx,
DEST_SUFFIX => $dsfx,
MAKEINFOFLAGS => $makeinfoflags,
## (Don't wonder about %DIRSTAMP% here, this is used only by non-generic
## rules.)
if %?GENERIC%
-%DEST_PREFIX%%DEST_SUFFIX%: %DEPS%
-%DEST_PREFIX%.dvi: %DEPS%
-%DEST_PREFIX%.pdf: %DEPS%
+%DEST_PREFIX%%DEST_SUFFIX%: %SOURCE_REAL% %DEPS%
+%DEST_PREFIX%.dvi: %SOURCE_REAL% %DEPS%
+%DEST_PREFIX%.pdf: %SOURCE_REAL% %DEPS%
endif %?GENERIC%