X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=ed6570de6dbd08115b60df6510ad907b431ceb55;hb=HEAD;hp=14143dea53bb2992a48abde0d4e112257909dfb9;hpb=4669766958557947f2f8dd68f2fb0578d333b737;p=saga.git diff --git a/Makefile b/Makefile index 14143de..ed6570d 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,21 @@ -all: saga.ps +all: saga.pdf abstract.pdf abscover.pdf pubs.pdf -CHAPTERS=cover +CHAPTERS=cover pref mst ram adv opt dyn appl rank epilog notation -saga.dvi: saga.tex $(addsuffix .tex,$(CHAPTERS)) macros.tex - csplain $< +%.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 $< -%.dvi: %.tex macros.tex +abscover.dvi: abscover.tex csplain $< +saga.dvi: $(addsuffix .tex,$(CHAPTERS)) + %.ps: %.dvi dvips -D600 -o $@ -t a4 $< @@ -15,9 +23,15 @@ saga.dvi: saga.tex $(addsuffix .tex,$(CHAPTERS)) macros.tex dvipdfm -o $@ -p a4 -r 600 -z 9 $< mostlyclean: - rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg + rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids *.toc *.tok -clean:: mostlyclean +clean: mostlyclean rm -f *.ps *.pdf +countrefs: saga.dvi + grep -c bibitem saga.bbl + +upload: saga.pdf + rsync saga.pdf jw:www/static/papers/saga/saga-current.pdf + .SECONDARY: