Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
François Revol
Infobeamer Templates
Commits
122e28a3
Commit
122e28a3
authored
Dec 22, 2019
by
François Revol
Browse files
Copy LQDN template for 36C3
parent
e29927f5
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
36C3/lqdn/36C3_ad_LQDN.svg
0 → 100644
View file @
122e28a3
This diff is collapsed.
Click to expand it.
36C3/lqdn/Makefile
0 → 100644
View file @
122e28a3
# event edition
C3
:=
36
# base name
TARGET_BASE
:=
$(C3)
C3_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)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment