X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=ed6570de6dbd08115b60df6510ad907b431ceb55;hb=HEAD;hp=103440e6be5ab589e38f5691db7adf7a35c6e4d3;hpb=f078504cb5950c95ba7f09b104f397b21306a907;p=saga.git diff --git a/Makefile b/Makefile index 103440e..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 notation ram adv rank +CHAPTERS=cover pref mst ram adv opt dyn appl rank epilog notation -%.dvi: %.tex macros.tex biblio.bib - tex $< && bibtex $* && tex $< && tex $< ; fi +%.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,9 +23,15 @@ 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 +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: