IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 29, 2004, 12:01:49 PM (22 years ago)
Author:
eugene
Message:

updated PSDC numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/pslib/Makefile

    r1090 r2241  
    1 # $Id: Makefile,v 1.7 2004-06-25 03:04:46 eugene Exp $
     1# $Id: Makefile,v 1.8 2004-10-29 22:01:19 eugene Exp $
    22
    3 PDFLATEX = pdflatex
    4 PSLATEX = latex
     3PDFLATEX = env TEXINPUTS=.:LaTeX:$(TEXINPUTS): pdflatex
     4PSLATEX  = env TEXINPUTS=.:LaTeX:$(TEXINPUTS): latex
    55
    6 all : psLibSDRS.pdf psLibADD.pdf psLibSRS.pdf
    7 ps  : psLibSDRS.ps psLibADD.ps psLibSRS.ps
     6all : psLibSDRS.pdf psLibADD.pdf
    87
    9 %.pdf : %.tex
    10         @find . -name $*.aux -cnewer $*.tex -exec rm {} \;
    11         @if [ ! -f $*.aux ]; then \
    12                 echo $(PDFLATEX) $*.tex; \
    13                 env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PDFLATEX) $*.tex; \
    14         fi && env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PDFLATEX) $*.tex || $(RM) $*.pdf
    15 
    16 %.dvi : %.tex
    17 
    18 %.dvi : %.aux
    19         env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PSLATEX) $*.tex
    20 
    21 %.aux : %.tex
    22         env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PSLATEX) $*.tex
    23         @rm -f $*.dvi
    24 
    25 %.ps : %.dvi
    26         dvips -o $*.ps $<
     8%.pdf: %.tex
     9        $(PSLATEX) $*.tex
     10        $(PSLATEX) $*.tex
     11        dvips -z -t letter -o $*.ps $*.dvi
     12        ps2pdf $*.ps $*.pdf
     13        @rm -f $*.ps $*.dvi $*.aux $*.log $*.tbr $*.tbd
    2714
    2815clean :
    29         $(RM) *.log *.dvi *.aux *.toc *.lof *.out *~ core
     16        $(RM) *.log *.dvi *.aux *.toc *.tbd *.tbr *.lof *.out *~ core
    3017
    31 empty : clean
    32         @for f in `find . -maxdepth 1 -name \*.pdf`; do \
    33             if [ -f `echo $$f | sed 's/pdf/tex/'` ]; then \
    34                 echo $(RM) $$f; \
    35                 $(RM) $$f; \
    36             fi; \
    37         done
     18empty: clean
Note: See TracChangeset for help on using the changeset viewer.