Add install target and update README
This commit is contained in:
parent
298a1a64ac
commit
4dac620f04
2 changed files with 10 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue