Commits

jordilin committed cc80500

/ dodoc command modified.

  • Participants
  • Parent commits d1028d9
  • Tags log4tailer-xx

Comments (0)

Files changed (1)

         pdfexec = 'pdflatex'
         file = 'log4tailer.tex'
         destfile = pjoin(destdir,'UserGuide-'+__version__+'.pdf')
-        docproc = Popen([pdfexec,file],stdout=PIPE)
-        out,err = docproc.communicate()
-        print out
+        for i in range(2):
+            # compile two times to fix cross references
+            docproc = Popen([pdfexec,file],stdout=PIPE)
+            out,err = docproc.communicate()
+            print out
         shutil.copy('log4tailer.pdf',destfile)
 
 class Clean(Command):