mirror of https://github.com/matze/mtheme.git
Merge pull request #92 from matze/fix-91
Fix #91: add `ctan` target to Makefile
This commit is contained in:
commit
5702e93b2b
9
Makefile
9
Makefile
|
@ -14,6 +14,8 @@ MANUAL_SRC = mtheme.dtx
|
|||
MANUAL_PDF = mtheme.pdf
|
||||
TEXC := latexmk -xelatex -output-directory=$(TEMP_DIR)
|
||||
|
||||
CTAN_CONTENT = $(INS) $(DTX) $(MANUAL_PDF)
|
||||
|
||||
DOCKER_IMAGE = latex-image
|
||||
DOCKER_CONTAINER = latex-container
|
||||
|
||||
|
@ -39,8 +41,11 @@ manual: $(MANUAL_PDF)
|
|||
|
||||
demo: $(DEMO_PDF)
|
||||
|
||||
ctan:
|
||||
@echo Not yet implemented.
|
||||
ctan: $(CTAN_CONTENT)
|
||||
@mkdir -p mtheme
|
||||
@cp $(CTAN_CONTENT) mtheme/
|
||||
@zip -q mtheme-$(shell grep -A1 ProvidesPackage < beamerthemem.dtx | grep -P -o '\d\.\d\.\d').zip mtheme/*
|
||||
@rm -rf mtheme
|
||||
|
||||
clean:
|
||||
@git clean -xfd
|
||||
|
|
Loading…
Reference in New Issue