From b50a6495d8e7f7dfdfcc2c417c9c56a6ed149180 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 24 Nov 2003 07:39:10 +0000 Subject: [PATCH] * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a Texinfo 4.1 bug. Report from Dalibor Topic. --- ChangeLog | 6 ++++++ THANKS | 1 + lib/am/texibuild.am | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8e027e69c..1f8be76e3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-11-24 Alexandre Duret-Lutz + + * lib/am/texibuild.am (%SOURCE_SUFFIX%.html): Work around a + Texinfo 4.1 bug. + Report from Dalibor Topic. + 2003-11-22 Alexandre Duret-Lutz Fix for PR automake/411: diff --git a/THANKS b/THANKS index 966beef50..72743bafa 100644 --- a/THANKS +++ b/THANKS @@ -38,6 +38,7 @@ Bruno Haible haible@ilog.fr Charles Wilson cwilson@ece.gatech.edu Chris Provenzano proven@io.proven.org Christian Cornelssen ccorn@cs.tu-berlin.de +Dalibor Topic robilad@kaffe.org danbp danpb@nospam.postmaster.co.uk Dave Brolley brolley@redhat.com Dave Morrison dave@bnl.gov diff --git a/lib/am/texibuild.am b/lib/am/texibuild.am index dbb8a3cb6..cfb3be220 100644 --- a/lib/am/texibuild.am +++ b/lib/am/texibuild.am @@ -88,6 +88,10 @@ INFO_DEPS += %DEST_INFO_PREFIX%%DEST_SUFFIX% $(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) %MAKEINFOFLAGS% \ ?GENERIC? -o $@ %SOURCE% ?!GENERIC? -o $@ `test -f '%SOURCE%' || echo '$(srcdir)/'`%SOURCE% +## Work around a bug in Texinfo 4.1 (-o foo.html outputs files in foo/ +## instead of foo.html/). + if test ! -d $@ && test -d $(@:.html=); then \ + mv $(@:.html=) $@; else :; fi ## If we are using the generic rules, we need separate dependencies. ## (Don't wonder about %DIRSTAMP% here, this is used only by non-generic -- 2.47.2