Merge pull request #92 from matze/fix-91

Fix #91: add `ctan` target to Makefile
This commit is contained in:
Matthias Vogelgesang 2015-06-22 08:24:31 +02:00
commit 5702e93b2b
1 changed files with 7 additions and 2 deletions

View File

@ -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