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'
  11.  
  12. # Set this to whatever it should be, e.g., /usr/local/texmf or whatever.
  13. # Probably better to install these in your own personal TEXMF tree so that
  14. # they don't get wiped out by updates.
  15. # TEXMFHOME =
  16. LATEX = $(TEXMFHOME)/tex/latex
  17.  
  18.  
  19. install:
  20. @mkdir -p $(LATEX)/beamer/themeOtago
  21. @mkdir -p $(LATEX)/beamer/themeNZCS
  22. cp beamerthemes/beamerthemeOtago/*.sty $(LATEX)/beamer/themeOtago
  23. cp beamerthemes/beamerthemeOtago/OU-Logo-Colour.* $(LATEX)/beamer/themeOtago
  24. cp beamerthemes/beamerthemenzcs/beamerthemenzcs.sty $(LATEX)/beamer/themeNZCS
  25. cp beamerthemes/beamerthemenzcs/NZCSbanner.png $(LATEX)/beamer/themeNZCS
  26. @mkdir -p $(LATEX)/OULogo
  27. (cd OULogo; cp *.eps *.pdf *.jpg *.png $(LATEX)/OULogo)
  28.  
  29. @mkdir -p $(LATEX)/listings
  30. cp listings/lstlang*.sty $(LATEX)/listings
  31.  
  32. @mkdir -p $(LATEX)/lectures
  33. (cd lectures; cp *.cls *.sty $(LATEX)/lectures)
  34.  
  35. @mkdir -p $(LATEX)/local
  36. (cp relalg.sty $(LATEX)/local)
  37.  
  38. @texhash