Commit 22aafee5 authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

Simplify Makefile

parent 440cd198
......@@ -3,13 +3,18 @@ TARGET := demo.pdf
all: demo
.PHONY: alldemo demo-xelatex demo-lualatex demo-pdflatex screenshots
.PHONY: all demo screenshots
demo-xelatex: LATEXMK_GEN := -xelatex
demo-lualatex: LATEXMK_GEN := -lualatex
demo-pdflatex: LATEXMK_GEN := -pdf
$(MAKE) LATEXMK_GEN=-xelatex $*
demo demo-xelatex demo-lualatex demo-pdflatex: | clean $(TARGET)
$(MAKE) LATEXMK_GEN=-lualatex $*
demo: | clean $(TARGET)
test -d "$(SCREENSHOT_DIR)" || mkdir "$(SCREENSHOT_DIR)"
screenshots: $(TARGET)
......@@ -23,4 +28,3 @@ mrproper::
rmdir --ignore-fail-on-non-empty "$(SCREENSHOT_DIR)" || true
include theme/Makefile
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment