[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 5b7f14ecab44b5571e881ed03eb24cf6aff49524
Author: Agustin Martin Domingo <agmartin at debian.org>
Date:   Mon Apr 27 21:11:23 2009 +0200

    fmt_info.pl: do not anchor input file name substitution.

diff --git a/lib/fmt/fmt_info.pl b/lib/fmt/fmt_info.pl
index 5e841f0..8871d86 100644
--- a/lib/fmt/fmt_info.pl
+++ b/lib/fmt/fmt_info.pl
@@ -136,7 +136,8 @@ $info->{postASP} = sub {
   }
   close $TMPINFO;
 
-  $infotext =~ s/^$texifile/$fileinfo/m;
+  # Change to something useful origin filename given by makeinfo
+  $infotext =~ s/$texifile/$fileinfo/;
 
   open ($OUTFILE, "> $infofile")
     or die "Could not open $infofile for write. Aborting ... \n";

-- 
linuxdoc-tools package for Debian.



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