Add install target and update README

This commit is contained in:
Matthias Vogelgesang 2014-12-01 22:37:51 +01:00
parent 298a1a64ac
commit 4dac620f04
2 changed files with 10 additions and 1 deletions

View file

@ -3,8 +3,10 @@ PDF = demo.pdf
AUX = demo.aux
TEXC := xelatex
TEXC_OPTS += -shell-escape
TEXMFHOME = $(shell kpsewhich -var-value=TEXMFHOME)
INSTALL_DIR = $(TEXMFHOME)/tex/latex/mtheme
.PHONY: clean
.PHONY: clean install
all: $(PDF)
@ -17,3 +19,7 @@ $(PDF): beamerthemem.sty $(AUX) $(SRC)
clean:
@rm -f $(PDF)
@git clean -xf
install:
mkdir -p $(INSTALL_DIR)
cp *.sty $(INSTALL_DIR)

View file

@ -22,6 +22,9 @@ Depending on the Linux distribution, the packaged name of Fira Sans might be
`Fira Sans OT` instead of `Fira Sans`. In that case, you may have to edit
`beamerfontthememetropolis.sty`.
To install the theme either run `make install` or copy the style files ending
with `.sty` to the source files of your presentation.
### Package options