]> mj.ucw.cz Git - saga.git/blobdiff - Makefile
Continuing with the intro to dynamic algorithms.
[saga.git] / Makefile
index 9802547b897473899e16f90ab0135d5ee4643931..9d0d809915802ea260c2d115506800b4c9cadde9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
 all: saga.ps
 
-CHAPTERS=cover mst notation
+CHAPTERS=cover mst ram adv opt dyn rank notation
 
 %.dvi: %.tex macros.tex biblio.bib
-       tex $< && if grep -q citation $*.aux ; then bibtex $* && tex $< && tex $< ; fi
+       tex $< && bibtex $* && tex $< && tex $<
 
 saga.dvi: $(addsuffix .tex,$(CHAPTERS))
 
@@ -16,7 +16,13 @@ saga.dvi: $(addsuffix .tex,$(CHAPTERS))
 mostlyclean:
        rm -f *.dvi *.log *~ core *.o *.aux *.bbl *.blg *.ids
 
-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: