IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2241 for trunk/doc/Makefile


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/Makefile

    r503 r2241  
    1 # Runs pdflatex twice if it works, otherwise deletes the pdf output which isn't valid.
    2 # It deletes the pdf because that way you can fix the error and re-run make without
    3 # deleting the broken pdf yourself.
    4 %.pdf : %.tex
    5         @find . -name $*.aux -cnewer $*.tex -exec rm {} \;
    6         @if [ ! -f $*.aux ]; then \
    7                 echo $(PDFLATEX) $*.tex; \
    8                 env TEXINPUTS=.:LaTeX:: $(PDFLATEX) $*.tex; \
    9         fi && env TEXINPUTS=.:LaTeX:: $(PDFLATEX) $*.tex || $(RM) $*.pdf
    10 #
    11 PDFLATEX = pdflatex
    12 #
    13 clean :
    14         $(RM) *.log *.dvi *.aux *.toc *.log *.out *~ core
     1# Makefile for all IPP main engineering documents
    152
    16 empty : clean
    17         @for f in `find . -maxdepth 1 -name \*.pdf`; do \
    18             if [ -f `echo $$f | sed 's/pdf/tex/'` ]; then \
    19                 echo $(RM) $$f; \
    20                 $(RM) $$f; \
    21             fi; \
    22         done
     3DIR = PSLib modules design misc
     4
     5all:
     6        for i in $(DIR); do (cd $$i; make); done
     7
     8clean:
     9        for i in $(DIR); do (cd $$i; make clean); done
Note: See TracChangeset for help on using the changeset viewer.