Add install target and update README
This commit is contained in:
parent
298a1a64ac
commit
4dac620f04
8
Makefile
8
Makefile
|
@ -3,8 +3,10 @@ PDF = demo.pdf
|
||||||
AUX = demo.aux
|
AUX = demo.aux
|
||||||
TEXC := xelatex
|
TEXC := xelatex
|
||||||
TEXC_OPTS += -shell-escape
|
TEXC_OPTS += -shell-escape
|
||||||
|
TEXMFHOME = $(shell kpsewhich -var-value=TEXMFHOME)
|
||||||
|
INSTALL_DIR = $(TEXMFHOME)/tex/latex/mtheme
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean install
|
||||||
|
|
||||||
all: $(PDF)
|
all: $(PDF)
|
||||||
|
|
||||||
|
@ -17,3 +19,7 @@ $(PDF): beamerthemem.sty $(AUX) $(SRC)
|
||||||
clean:
|
clean:
|
||||||
@rm -f $(PDF)
|
@rm -f $(PDF)
|
||||||
@git clean -xf
|
@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
|
`Fira Sans OT` instead of `Fira Sans`. In that case, you may have to edit
|
||||||
`beamerfontthememetropolis.sty`.
|
`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
|
### Package options
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue