Commit 80c5769f authored by Bernhard Heinloth's avatar Bernhard Heinloth
Browse files

separate screenshots into new Makefile target

parent d45e1c22
......@@ -11,6 +11,8 @@ demo-pdflatex: LATEXMK_GEN := -pdf
demo demo-xelatex demo-lualatex demo-pdflatex: | clean $(TARGET)
test -d "$(SCREENSHOT_DIR)" || mkdir "$(SCREENSHOT_DIR)"
screenshots: $(TARGET)
pdftoppm -scale-to 500 -f 1 -l 5 -png $(TARGET) "$(SCREENSHOT_DIR)/$@"
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