]> mj.ucw.cz Git - saga.git/commitdiff
countrefs target.
authorMartin Mares <mj@ucw.cz>
Sat, 5 Apr 2008 20:00:07 +0000 (22:00 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 5 Apr 2008 20:00:07 +0000 (22:00 +0200)
Makefile

index 2aad2c2a3cfc1d663e2a5707fb32052038d6dc82..13a9679e6013850db63bac7924dd035a12a809f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,10 @@ 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
+
 .SECONDARY: