generate qrcode externally, needs python qrcode and pillow
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user