Commit 1a280adf authored by François Revol's avatar François Revol
Browse files

Add LQDN template

Reused the current donation campain charter mostly.
parent 4968ee59
This diff is collapsed.
# base name
TARGET_BASE := 35C3_ad_LQDN
QRBGCOL := 00000000
QRCOL := 000000
QR_URL := https://www.laquadrature.net/en/support/
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
QR_IMG := qr.png
all: $(TARGET_BASE).png $(TARGET_BASE).jpg
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
# Makefile dependency forces regeneration if URL changes
$(QR_IMG): Makefile
qrencode --foreground $(QRCOL) --background $(QRBGCOL) -t PNG -s 10 -o $@ "$(QR_URL)"
$(TARGET_BASE).png: $(TARGET_BASE).svg $(QR_IMG)
inkscape $< --export-png $@
$(TARGET_BASE).jpg: $(TARGET_BASE).png
convert $< $@
clean:
rm -f $(TARGET_BASE).png $(TARGET_BASE).jpg $(QR_IMG)
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