IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 22, 2004, 11:54:24 AM (22 years ago)
Author:
Paul Price
Message:

Runs pdflatex twice if it works, otherwise deletes the pdf output
which isn't valid. It deletes the pdf because that way you can fix
the error and re-run make without deleting the broken pdf yourself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/Makefile

    r311 r504  
    1 # $Id: Makefile,v 1.1 2004-03-29 22:11:23 price Exp $
     1# $Id: Makefile,v 1.2 2004-04-22 21:54:24 price Exp $
    22
    33all : psLibDesign.pdf psLibADD.pdf
     
    88                echo $(PDFLATEX) $*.tex; \
    99                env TEXINPUTS=.:LaTeX:: $(PDFLATEX) $*.tex; \
    10         fi; \
    11         env TEXINPUTS=.:LaTeX:: $(PDFLATEX) $*.tex
     10        fi && env TEXINPUTS=.:LaTeX:: $(PDFLATEX) $*.tex || $(RM) $*.pdf
    1211#
    1312PDFLATEX = pdflatex
Note: See TracChangeset for help on using the changeset viewer.