- Timestamp:
- Jan 6, 2017, 11:15:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20160809/doc/release.2015/Makefile.Common
r37888 r39920 1 1 # $Id: Makefile,v 1.16 2006-01-16 01:11:40 eugene Exp $ 2 2 3 PDFLATEX = env TEXINPUTS=.:..:inputs:../inputs:LaTeX:$(TEXINPUTS): pdflatex 4 PSLATEX = env TEXINPUTS=.:..:inputs:../inputs:LaTeX:$(TEXINPUTS): latex 3 PDFLATEX = env TEXINPUTS=.:../inputs: pdflatex 4 PSLATEX = env TEXINPUTS=.:../inputs: latex 5 BIBTEX = env BIBINPUTS=.:../inputs BSTINPUTS=.:../inputs bibtex 5 6 6 7 PS2PDF_OPTS = "-dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode" 7 8 9 ifeq ($(DO_PDFLATEX),1) 10 MY_LATEX = $(PDFLATEX) 11 else 12 MY_LATEX = $(PSLATEX) 13 endif 14 8 15 %.pdf: %.tex 9 $(PSLATEX) $*.tex 10 $(PSLATEX) $*.tex 16 $(MY_LATEX) $*.tex 17 if [ $(DO_BIBTEX) -eq 1 ]; then $(BIBTEX) $*; fi 18 $(MY_LATEX) $*.tex 19 if [ $(DO_BIBTEX) -eq 1 ]; then $(MY_LATEX) $*.tex; fi 11 20 # thumbpdf --modes=dvips $*.pdf 12 # $( PSLATEX) $*.tex13 dvips -z -t letter -o $*.ps $*.dvi14 ps2pdf $(PS2PSF_OPT) $*.ps $*.pdf21 # $(MY_LATEX) $*.tex 22 if [ $(DO_PDFLATEX) -eq 0 ]; then dvips -z -t letter -o $*.ps $*.dvi; fi 23 if [ $(DO_PDFLATEX) -eq 0 ]; then ps2pdf $(PS2PDF_OPTS) $*.ps $*.pdf; fi 15 24 # @rm -f $*.ps $*.dvi $*.aux $*.log $*.tbr $*.tbd $*.toc $*.tpm $*.lof body.tmp head.tmp 16 25 26 %.tgz: 27 tar --transform 's%inputs/%%' -zcf $@ $(FILES) $*.bbl 17 28 clean : 18 29 $(RM) *.bib *.log *.dvi *.aux *.toc *.tbd *.tbr *.tpm *.lof *.out *~ core body.tmp head.tmp … … 22 33 23 34 empty: clean 35 36 foo: 37 @echo all: $^ 38 @echo 1st: $< 39 @echo file: $@ 40 @echo word: $*
Note:
See TracChangeset
for help on using the changeset viewer.
