X-Git-Url: https://hackdaworld.org/gitweb/?p=lectures%2Flatex.git;a=blobdiff_plain;f=posic%2Fthesis%2FMakefile;h=3d9860dd58f4d0c5c048731d20f80810a31e075a;hp=eabf68b91638f8e2ff95ff8c96c51621bf949c60;hb=0034511d32ceadc7572f9d277fdd690f64c5c507;hpb=3d6ada0c1c3dc7a335df4cd8c167f4b0961851ff diff --git a/posic/thesis/Makefile b/posic/thesis/Makefile index eabf68b..3d9860d 100644 --- a/posic/thesis/Makefile +++ b/posic/thesis/Makefile @@ -4,6 +4,7 @@ DVIPS = dvips -tlandscape DVIPDF= dvipdf PS2PDF = ps2pdf PDFLATEX = pdflatex +BIBTEX = bibtex SRC = thesis.tex PDF = $(SRC:%.tex=%.pdf) @@ -11,8 +12,10 @@ PDF = $(SRC:%.tex=%.pdf) all: $(PDF) %.dvi: %.tex - $(PDFLATEX) $< $@ - $(PDFLATEX) $< $@ + $(LATEX) $< + $(BIBTEX) $(SRC:%.tex=%) + $(LATEX) $< + $(LATEX) $< %.ps: %.dvi $(DVIPS) $< @@ -21,4 +24,4 @@ all: $(PDF) $(DVIPDF) $< clean: - rm -f *.log *.aux + rm -f *.log *.aux *.blg *.lof *.ps *.pdf *.toc