texinfo-commits
[Top][All Lists]
Advanced

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

[6037] Fixes to allow building texindex under MinGW.


From: Arnold Robbins
Subject: [6037] Fixes to allow building texindex under MinGW.
Date: Wed, 14 Jan 2015 19:10:56 +0000

Revision: 6037
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6037
Author:   arnold
Date:     2015-01-14 19:10:55 +0000 (Wed, 14 Jan 2015)
Log Message:
-----------
Fixes to allow building texindex under MinGW.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/texindex/jrtangle
    trunk/texindex/ti.twjr

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-01-12 12:12:47 UTC (rev 6036)
+++ trunk/ChangeLog     2015-01-14 19:10:55 UTC (rev 6037)
@@ -1,3 +1,10 @@
+2015-01-14  Arnold D. Robbins <address@hidden>
+
+       * texindex/jrtangle: Fixes to allow non-use of default update recipe.
+       * texindex/ti.twjr: Clear the update recipe, don't use a suffix.
+       Should let things build in MinGW environment. Thanks to Eli Z
+       for pointing out the issue.
+       
 2015-01-11  Karl Berry  <address@hidden>
 
        * man/Makefile.am (texindex.1): source file is now texindex/ti.twjr.

Modified: trunk/texindex/jrtangle
===================================================================
--- trunk/texindex/jrtangle     2015-01-12 12:12:47 UTC (rev 6036)
+++ trunk/texindex/jrtangle     2015-01-14 19:10:55 UTC (rev 6037)
@@ -395,7 +395,7 @@
                        fatal(_"cannot nest one @file_update_recipe inside 
another\n")
                Line_numbers["file_update_recipe"] = (FILENAME ":" FNR)
                Update_recipe = ""
-       } if (/address@hidden file_update_recipe[[:space:]]*$/) {
+       } else if (/address@hidden file_update_recipe[[:space:]]*$/) {
                # end of construct, delete line number, skip this line
                delete Line_numbers["file_update_recipe"]
        } else
@@ -413,6 +413,8 @@
        if (NF != 4)
                fatal(_"usage: @file_update name dir suffix\n")
 
+       if ($4 == "\"\"")
+               $4 = ""
        Update_value[$2]["DIR"] = $3
        Update_value[$2]["SUFFIX"] = $4
 

Modified: trunk/texindex/ti.twjr
===================================================================
--- trunk/texindex/ti.twjr      2015-01-12 12:12:47 UTC (rev 6036)
+++ trunk/texindex/ti.twjr      2015-01-14 19:10:55 UTC (rev 6037)
@@ -227,8 +227,9 @@
 
 The general outline is as follows:
 
address@hidden Make it executable
address@hidden texindex.awk chmod +x texindex.awk
address@hidden
address@hidden file_update_recipe
address@hidden texindex.awk . ""
 
 @(texindex.awk@) =
 @<First line@>




reply via email to

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