Changeset 2241 for trunk/doc/design/Makefile
- Timestamp:
- Oct 29, 2004, 12:01:49 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/design/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/design/Makefile
r2186 r2241 1 # $Id: Makefile,v 1. 8 2004-10-21 03:55:59eugene Exp $1 # $Id: Makefile,v 1.9 2004-10-29 22:00:08 eugene Exp $ 2 2 3 PDFLATEX = pdflatex 4 PSLATEX = latex 5 PSLATEX =env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: latex 3 PDFLATEX = env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: pdflatex 4 PSLATEX = env TEXINPUTS=../../latex/inputs:$(TEXINPUTS):.: latex 6 5 7 srs : ippSRS.tex 6 all : ippSRS.pdf ippSDRS.pdf hardware.pdf ippSCDps1.pdf 7 8 ippSRS.pdf : ippSRS.tex 8 9 trace.pl ippSRS.tex ippSRSout.tex ippSRStrace.tex 9 ltx ippSRSout 10 $(PSLATEX) ippSRSout.tex 11 $(PSLATEX) ippSRSout.tex 12 dvips -z -t letter -o ippSRSout.ps ippSRSout.dvi 13 ps2pdf ippSRSout.ps ippSRSout.pdf 10 14 mv ippSRSout.pdf ippSRS.pdf 15 @rm -f ippSRSout.ps ippSRSout.dvi ippSRSout.aux ippSRSout.log 16 @rm -f ippSRSout.tbr ippSRSout.tbd ippSRSout.ent ippSRSout.lof ippSRSout.loc 11 17 12 all : ippSRS.pdf ippSDRS.pdf 13 14 %.pdf : %.tex 15 @find . -name $*.aux -cnewer $*.tex -exec rm {} \; 16 @if [ ! -f $*.aux ]; then \ 17 echo $(PDFLATEX) $*.tex; \ 18 env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PDFLATEX) $*.tex; \ 19 fi && env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PDFLATEX) $*.tex || $(RM) $*.pdf 20 21 %.dvi : %.tex 22 23 %.dvi : %.aux 24 env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PSLATEX) $*.tex 25 26 %.aux : %.tex 27 env TEXINPUTS=.:LaTeX:$(TEXINPUTS): $(PSLATEX) $*.tex 28 @rm -f $*.dvi 29 30 %.ps : %.dvi 31 dvips -t letter -o $*.ps $< 18 %.pdf: %.tex 19 $(PSLATEX) $*.tex 20 $(PSLATEX) $*.tex 21 dvips -z -t letter -o $*.ps $*.dvi 22 ps2pdf $*.ps $*.pdf 23 @rm -f $*.ps $*.dvi $*.aux $*.log $*.tbr $*.tbd $*.lof $*.toc 32 24 33 25 clean : 34 $(RM) *.log *.dvi *.aux *.toc *. lof *.out *~ core26 $(RM) *.log *.dvi *.aux *.toc *.tbd *.tbr *.lof *.out *~ core 35 27 36 28 empty : clean 37 @for f in `find . -maxdepth 1 -name \*.pdf`; do \38 if [ -f `echo $$f | sed 's/pdf/tex/'` ]; then \39 echo $(RM) $$f; \40 $(RM) $$f; \41 fi; \42 done
Note:
See TracChangeset
for help on using the changeset viewer.
