Newer
Older
LaTeX / Makefile
################################################################################
#
# Makefile to install various LaTeX items in the appropriate places.
#
################################################################################

SHELL = /bin/sh

# Depending on the permissions of your TEXMF directory, you may need to
# do a 'sudo make install'

# Set this to whatever it should be, e.g., /usr/local/texmf or whatever.
# Probably better to install these in your own personal TEXMF tree so that
# they don't get wiped out by updates.
# TEXMFHOME =
LATEX = $(TEXMFHOME)/tex/latex


install:
	@mkdir -p $(LATEX)/beamer/themeOtago
	@mkdir -p $(LATEX)/beamer/themeNZCS
	cp beamerthemes/beamerthemeOtago/*.sty $(LATEX)/beamer/themeOtago
	cp beamerthemes/beamerthemeOtago/OU-Logo-Colour.* $(LATEX)/beamer/themeOtago
	cp beamerthemes/beamerthemenzcs/beamerthemenzcs.sty $(LATEX)/beamer/themeNZCS
	cp beamerthemes/beamerthemenzcs/NZCSbanner.png $(LATEX)/beamer/themeNZCS
	
	@mkdir -p $(LATEX)/OULogo
	(cd OULogo; cp *.eps *.pdf *.jpg $(LATEX)/OULogo)

	@mkdir -p $(LATEX)/listings
	cp listings/lstlang*.sty $(LATEX)/listings

	@mkdir -p $(LATEX)/lectures
	(cd lectures; cp *.cls *.sty $(LATEX)/lectures)

	@texhash