texinfo-commits
[Top][All Lists]
Advanced

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

[7839] texi2dvi check existence of sorted index files


From: gavinsmith0123
Subject: [7839] texi2dvi check existence of sorted index files
Date: Wed, 21 Jun 2017 16:14:20 -0400 (EDT)

Revision: 7839
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7839
Author:   gavin
Date:     2017-06-21 16:14:20 -0400 (Wed, 21 Jun 2017)
Log Message:
-----------
texi2dvi check existence of sorted index files

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/util/texi2dvi

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-06-21 19:34:18 UTC (rev 7838)
+++ trunk/ChangeLog     2017-06-21 20:14:20 UTC (rev 7839)
@@ -1,5 +1,12 @@
 2017-06-21  Gavin Smith  <address@hidden>
 
+       * util/texi2dvi (xref_files_changed): Call 'sorted_index_files'
+       to get a list of the sorted index files that should exist, and
+       if any of them are missing, go around another cycle of 
+       processing.
+
+2017-06-21  Gavin Smith  <address@hidden>
+
        * util/texi2dvi (filter_files): Comment changed.
        (add_all_filter): Do not print the argument of the file, so 
        using this with filter_files only prints secondary files.

Modified: trunk/util/texi2dvi
===================================================================
--- trunk/util/texi2dvi 2017-06-21 19:34:18 UTC (rev 7838)
+++ trunk/util/texi2dvi 2017-06-21 20:14:20 UTC (rev 7839)
@@ -836,6 +836,15 @@
     fi
   done
 
+  secondary_xref_files=`sorted_index_files`
+  verbose "Secondary xref files = $secondary_xref_files"
+  for this_file in $secondary_xref_files; do
+    if test -f $this_file; then :; else
+      verbose "$this_file missing ..."
+      return 0
+    fi
+  done
+
   # No change.
   return 1
 }




reply via email to

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