Newer
Older
LaTeX / Makefile
  1. ################################################################################
  2. #
  3. # Makefile to install various LaTeX items in the appropriate places.
  4. #
  5. ################################################################################
  6.  
  7. SHELL = /bin/sh
  8.  
  9. # Depending on the permissions of your TEXMF directory, you may need to
  10. # do a 'sudo make install'. WARNING: any predefined TEXMF environment variables
  11. # probably won't be available under sudo! Be sure to pass them on the command
  12. # line if needed: e.g., 'make install TEXMFHOME=/usr/local/texmf'.
  13.  
  14. # Set this to whatever it should be, e.g., /usr/local/texmf or whatever.
  15. # Probably better to install these in your own personal TEXMF tree so that
  16. # they don't get wiped out by updates.
  17. # TEXMFHOME =
  18. LATEX = $(TEXMFHOME)/tex/latex
  19.  
  20.  
  21. install:
  22. @mkdir -p $(LATEX)/beamer/themeOtago
  23. @mkdir -p $(LATEX)/beamer/themeOtagoPlain
  24. @mkdir -p $(LATEX)/beamer/themeNZCS
  25. cp beamerthemes/beamerthemeOtago/*.sty $(LATEX)/beamer/themeOtago
  26. cp beamerthemes/beamerthemeOtago/OU-Logo-Colour.* $(LATEX)/beamer/themeOtago
  27. cp beamerthemes/beamerthemeOtagoPlain/*.sty $(LATEX)/beamer/themeOtagoPlain
  28. cp beamerthemes/beamerthemeOtagoPlain/Business_School_LS_ID_crop.* $(LATEX)/beamer/themeOtagoPlain
  29. cp beamerthemes/beamerthemenzcs/beamerthemenzcs.sty $(LATEX)/beamer/themeNZCS
  30. cp beamerthemes/beamerthemenzcs/NZCSbanner.png $(LATEX)/beamer/themeNZCS
  31. @mkdir -p $(LATEX)/OULogo
  32. (cd OULogo; cp *.eps *.pdf *.jpg $(LATEX)/OULogo)
  33.  
  34. @mkdir -p $(LATEX)/listings
  35. cp listings/lstlang*.sty listings/lstlocal.cfg $(LATEX)/listings
  36.  
  37. @mkdir -p $(LATEX)/lectures
  38. (cd lectures; cp *.cls *.sty $(LATEX)/lectures)
  39.  
  40. @mkdir -p $(LATEX)/local
  41. (cp relalg.sty $(LATEX)/local)
  42.  
  43. @texhash