Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

22 lines
508 B

  1. all: refman.pdf
  2. pdf: refman.pdf
  3. refman.pdf: clean refman.tex
  4. pdflatex refman
  5. makeindex refman.idx
  6. pdflatex refman
  7. latex_count=8 ; \
  8. while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
  9. do \
  10. echo "Rerunning latex...." ;\
  11. pdflatex refman ;\
  12. latex_count=`expr $$latex_count - 1` ;\
  13. done
  14. makeindex refman.idx
  15. pdflatex refman
  16. clean:
  17. rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf