X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=ed6570de6dbd08115b60df6510ad907b431ceb55;hb=HEAD;hp=13a9679e6013850db63bac7924dd035a12a809f9;hpb=4c789b3f79f7973f202494fe9141a49e3934cd62;p=saga.git diff --git a/Makefile b/Makefile index 13a9679..ed6570d 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,18 @@ -all: saga.ps +all: saga.pdf abstract.pdf abscover.pdf pubs.pdf -CHAPTERS=cover mst ram adv opt rank notation +CHAPTERS=cover pref mst ram adv opt dyn appl rank epilog notation -%.dvi: %.tex macros.tex biblio.bib - tex $< && bibtex $* && tex $< && tex $< +%.dvi: %.tex macros.tex fonts12.tex fonts10.tex biblio.bib mjalpha.bst + tex $< && mv $*.toc $*.tok + bibtex $* + tex $< && mv $*.toc $*.tok + tex $< && mv $*.toc $*.tok + +pubs.dvi: pubs.tex macros.tex fonts12.tex + tex $< + +abscover.dvi: abscover.tex + csplain $< saga.dvi: $(addsuffix .tex,$(CHAPTERS)) @@ -14,7 +23,7 @@ saga.dvi: $(addsuffix .tex,$(CHAPTERS)) dvipdfm -o $@ -p a4 -r 600 -z 9 $< mostlyclean: - rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids + rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids *.toc *.tok clean: mostlyclean rm -f *.ps *.pdf @@ -22,4 +31,7 @@ clean: mostlyclean countrefs: saga.dvi grep -c bibitem saga.bbl +upload: saga.pdf + rsync saga.pdf jw:www/static/papers/saga/saga-current.pdf + .SECONDARY: