Commit 67447d8c authored by François Revol's avatar François Revol
Browse files

Add 36C3 Teahouse template

parent 122e28a3
This source diff could not be displayed because it is too large. You can view the blob instead.
# event edition
C3 := 36
# base name
TARGET_BASE := $(C3)C3_ad_TeaHouse
# background color
BGCOL := 3b68b0
# TeaHouse Assembly URL
TH_URL := https://36c3.c3nav.de/l/teahouse/@1,186.59,354.31,5
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
#QRIMG := qr_teahouse.svg
QRIMG := qr_teahouse.png
all: $(TARGET_BASE).png $(TARGET_BASE).jpg
#XXX: inkscape cannot link to external SVG, nor move objects by command line :-(
# qrencode --foreground $(BGCOL) --background ffffff00 -t SVG -o $@ "$(TH_URL)"
# Makefile dependency forces regeneration if URL changes
$(QRIMG): Makefile
qrencode --foreground $(BGCOL) --background ffffff00 -t PNG -s 10 -o $@ "$(TH_URL)"
$(TARGET_BASE).png: $(TARGET_BASE).svg $(QRIMG)
inkscape $< --export-png $@
$(TARGET_BASE).jpg: $(TARGET_BASE).png
convert $< $@
clean:
rm -f $(TARGET_BASE).png $(TARGET_BASE).jpg $(QRIMG)
../../34C3/teahouse/Small_DSCF2172.JPG
\ No newline at end of file
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