generate qrcode externally, needs python qrcode and pillow

This commit is contained in:
2020-02-01 14:53:20 -06:00
parent 7594d4f571
commit 9c37ed5960
4 changed files with 32 additions and 42 deletions

View File

@@ -2,12 +2,16 @@ DOC=thiep1
INPUT=$(DOC).tex
TARGET=$(DOC).pdf
TEX=xelatex
QR=qr.png
default: $(TARGET)
$(TARGET): $(INPUT) Makefile
$(TARGET): $(INPUT) Makefile $(QR)
$(TEX) $< && $(TEX) $<
$(QR): event.txt
cat $< | qr > $@
clean:
rm -f $(DOC).{pdf,out,aux,log}
rm -f *.{pdf,out,aux,log,bbl,blg}