Changeset 2241 for trunk/doc/misc/Makefile
- Timestamp:
- Oct 29, 2004, 12:01:49 PM (22 years ago)
- Location:
- trunk/doc/misc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/misc
- Property svn:ignore
-
old new 6 6 *.out 7 7 *.lof 8 *.tbd 9 *.tbr 8 10 codeConventions.pdf
-
- Property svn:ignore
-
trunk/doc/misc/Makefile
r1637 r2241 1 # $Id: Makefile,v 1. 1 2004-08-27 21:18:14 price Exp $1 # $Id: Makefile,v 1.2 2004-10-29 22:00:27 eugene Exp $ 2 2 3 PDFLATEX = pdflatex4 PSLATEX =latex3 PDFLATEX = env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: pdflatex 4 PSLATEX = env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: latex 5 5 6 6 all : codeConventions.pdf 7 ps : codeConventions.ps8 7 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 $*.lof $*.toc 27 14 28 15 clean : 29 $(RM) *.log *.dvi *.aux *.toc *. lof *.out *~ core16 $(RM) *.log *.dvi *.aux *.toc *.tbd *.tbr *.lof *.out *~ core 30 17 31 18 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
Note:
See TracChangeset
for help on using the changeset viewer.
