[xml/sgml-commit] [SCM] linuxdoc-tools package for Debian. branch, experimental, updated. debian/0.9.60-12-g5a91351

Agustin Martin Domingo agmartin at debian.org
Mon Apr 27 23:22:47 UTC 2009


The following commit has been merged in the experimental branch:
commit 4f5940fa614ea992fde09f5b393cd78b714aa51c
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Mon Apr 27 21:18:03 2009 +0200

    fmt_info.pl: No need of '\input texinfo' in resulting info file.

diff --git a/lib/fmt/fmt_info.pl b/lib/fmt/fmt_info.pl
index 8871d86..ca34856 100644
--- a/lib/fmt/fmt_info.pl
+++ b/lib/fmt/fmt_info.pl
@@ -139,6 +139,9 @@ $info->{postASP} = sub {
   # Change to something useful origin filename given by makeinfo
   $infotext =~ s/$texifile/$fileinfo/;
 
+  # Remove not needed line in resulting info file. Only first match.
+  $infotext =~ s/\\input texinfo//;
+
   open ($OUTFILE, "> $infofile")
     or die "Could not open $infofile for write. Aborting ... \n";
   print $OUTFILE $infotext;

-- 
linuxdoc-tools package for Debian.



More information about the debian-xml-sgml-commit mailing list