automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [PATCH 06/10] [ng] texi: remove workaround for Texinfo 4.1


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 06/10] [ng] texi: remove workaround for Texinfo 4.1
Date: Sun, 12 Aug 2012 13:19:28 +0200

* lib/am/texibuild.mk (am.texi.build.html): Here.  We require
Texinfo >= 4.9 anyway.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 lib/am/texibuild.mk | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/lib/am/texibuild.mk b/lib/am/texibuild.mk
index 0687201..1669e30 100644
--- a/lib/am/texibuild.mk
+++ b/lib/am/texibuild.mk
@@ -91,13 +91,9 @@ define am.texi.build.html
                            -o $(@:.html=.htp) $<; \
        then \
          rm -rf $@; \
-## Work around a bug in Texinfo 4.1 (-o foo.html outputs files in foo/
-## instead of foo.html/).
-         if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
-           mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \
+         mv $(@:.html=.htp) $@; \
        else \
-         if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \
-           rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
+         rm -rf $(@:.html=.htp) $@; \
          exit 1; \
        fi
 endef
-- 
1.7.12.rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]