Newer
Older
Publications / OCLC_2007 / Makefile
  1. .SUFFIXES: .eps .dvi .ps .bbl .bib .tex .plo .tif .pdf
  2.  
  3.  
  4. SHELL=/bin/sh
  5.  
  6.  
  7. lineplot = ploticus -eps -tightcrop -o $(1).eps lineplot.plo infile=$(2) \
  8. title=$(3) ytitle=$(4) ymin=$(5) ymax=$(6); \
  9. epstopdf $(1).eps; \
  10. rm -f $(1).eps
  11.  
  12.  
  13.  
  14. GRAPHICS:=otago_growth.pdf otago_items.pdf growth_comparison.pdf
  15.  
  16.  
  17. OCLC.pdf: OCLC.tex OCLC.bib $(GRAPHICS)
  18. pdflatex $<
  19. bibtex $*
  20. pdflatex $<
  21. pdflatex $<
  22.  
  23.  
  24. otago_growth.pdf: otago_growth.plo
  25. ploticus -eps -croprel 0,0.2,0.7,0 -o $*.eps $<
  26. epstopdf $*.eps
  27. rm -f $*.eps
  28.  
  29. otago_items.pdf: otago_items.plo
  30. ploticus -eps -croprel 0.2,0,0,0 -o $*.eps $<
  31. epstopdf $*.eps
  32. rm -f $*.eps
  33.  
  34. growth_comparison.plo: chunk_logstubs chunk_logtics
  35.  
  36. clean:
  37. rm -f *.aux *.bbl *.blg *.log *.dvi *.ps OCLC.pdf
  38.  
  39.  
  40. %.pdf: %.plo
  41. ploticus -eps -tightcrop -o $*.eps $<
  42. epstopdf $*.eps
  43. rm -f $*.eps
  44.  
  45. %.pdf: %.svg
  46. inkscape --file=$< --export-text-to-path --without-gui --export-eps=$*.eps
  47. ps2eps --ignoreBB --nohires --loose --gsbbox < $*.eps | ps2pdf -dEPSCrop - $@
  48. rm -f $*.eps
  49.  
  50. %.pdf: %.ps
  51. ps2pdf -dNOCACHE $< $@
  52.  
  53. %.ps: %.dvi
  54. dvips -o $@ $<
  55.  
  56. %.dvi: %.tex
  57. latex $<
  58. latex $<
  59.  
  60. %.eps: %.tif
  61. convert $< $@