X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=19a4feec04ebaaf7a469b9f3a87b2f48dbfd8664;hb=3cb8fbfbb3abf47365b3aa24fd913dd2c3559caf;hp=10c98f03b41f7e67f7e3948762c03cdbf707844f;hpb=5712fe2c0737d308cca007bae72c2a6bca767b34;p=saga.git diff --git a/Makefile b/Makefile index 10c98f0..19a4fee 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ all: saga.ps -CHAPTERS=cover mst notation ram adv +CHAPTERS=cover pref mst ram adv opt dyn appl rank epilog notation %.dvi: %.tex macros.tex biblio.bib - tex $< && if grep -q citation $*.aux ; then bibtex $* && tex $< && tex $< ; fi + tex $< && mv $*.toc $*.tok + bibtex $* + tex $< && mv $*.toc $*.tok + tex $< && mv $*.toc $*.tok saga.dvi: $(addsuffix .tex,$(CHAPTERS)) @@ -14,9 +17,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: