1. petsc
  2. PETSc
  3. petsc

Commits

Satish Balay  committed 471ee51

*** empty log message ***

  • Participants
  • Parent commits c436f2e
  • Branches master

Comments (0)

Files changed (2)

File maint/helpindex.py

View file
 #! /usr/bin/env python1.5
 #!/bin/env python1.5
-# $Id: helpindex.py,v 1.6 2000/09/25 16:12:30 balay Exp gropp $ 
+# $Id: helpindex.py,v 1.7 2000/09/26 20:44:24 gropp Exp balay $ 
 # 
 # reads in docs/tex/exampleconcepts,manconcepts, and create
 # the file help.html
                   concept_filename = replace(lower(prim_key)," ","_")
                   concept_filename = "concepts/" + concept_filename + ".htm"
                   
-                  if os.access(concept_filename,os.F_OK):
+                  #if os.access(concept_filename,os.F_OK):
+                  fd_tmp = os.popen('ls '+ concept_filename)
+                  buf = fd.read()
+                  if not buf == '':
                       fd.write("<A HREF=\"")
                       fd.write(concept_filename)
                       fd.write("\">")

File maint/wwwindex.py

View file
 #!/usr/bin/env python1.5
 #!/bin/env python1.5
-# $Id: wwwindex.py,v 1.31 2000/09/15 16:12:23 bsmith Exp balay $ 
+# $Id: wwwindex.py,v 1.32 2000/09/15 16:54:52 balay Exp balay $ 
 # 
 # Reads in all the generated manual pages, and Creates the index
 # for the manualpages, ordering the indices into sections based
             dname,secname  = posixpath.split(dirname)
             headfilename = dname + '/sec/bop.' + secname
             table        = createtable(dirname,levels,secname)
-            singlelist   = addtolist(dirname,singlelist)
             if not table: continue
+            singlelist   = addtolist(dirname,singlelist)
             printindex(outfilename,headfilename,levels,titles,table)
 
       alphabet_dict = createdict(singlelist)