X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=89f0c4217b3d254589c7f6b158e42f75e129f790;hb=18d58cb26a490f8c047f8418f4483fbaad4a7b20;hp=2aad2c2a3cfc1d663e2a5707fb32052038d6dc82;hpb=b39f3d352632de304959fae93bcc8960e961a37e;p=saga.git diff --git a/Makefile b/Makefile index 2aad2c2..89f0c42 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,18 @@ -all: saga.ps +all: saga.ps abstract.ps abscover.ps pubs.ps -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,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 + scp -C saga.pdf jw:www/papers/saga/ + .SECONDARY: