switched to bibtex + started intro ... puh, thats going to get a hard task!
[lectures/latex.git] / posic / thesis / Makefile
index eabf68b..2ec77fb 100644 (file)
@@ -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) $<