File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,9 @@ class Job:
279
279
if self .latex_runs < 2 :
280
280
if os .path .isfile ("mod%s.idx" % self .doc ):
281
281
self .run ("%s mod%s.idx" % (MAKEINDEX_BINARY , self .doc ))
282
+ use_indfix = 0
282
283
if os .path .isfile (self .doc + ".idx" ):
284
+ use_indfix = 1
283
285
# call to Doc/tools/fix_hack omitted; doesn't appear necessary
284
286
self .run ("%s %s.idx" % (MAKEINDEX_BINARY , self .doc ))
285
287
import indfix
@@ -295,9 +297,10 @@ class Job:
295
297
if os .path .isfile ("mod%s.idx" % self .doc ):
296
298
self .run ("%s -s %s mod%s.idx"
297
299
% (MAKEINDEX_BINARY , ISTFILE , self .doc ))
298
- if os . path . isfile ( self . doc + ".idx" ) :
300
+ if use_indfix :
299
301
self .run ("%s -s %s %s.idx"
300
302
% (MAKEINDEX_BINARY , ISTFILE , self .doc ))
303
+ indfix .process (self .doc + ".ind" )
301
304
self .process_synopsis_files ()
302
305
#
303
306
# and now finish it off:
You can’t perform that action at this time.
0 commit comments