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
f0d80db8
Commit
f0d80db8
authored
Dec 30, 2019
by
François Revol
Browse files
Add 36C3 LQDN template
parent
98587cb3
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
36C3/lqdn/36C3_ad_LQDN.svg
View file @
f0d80db8
This diff is collapsed.
Click to expand it.
36C3/lqdn/Makefile
View file @
f0d80db8
...
...
@@ -11,6 +11,14 @@ 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
BG_URL
:=
https://www.laquadrature.net/wp-content/themes/apprenti/img/affiche.jpg
BG_IMG
:=
$(
notdir
$(BG_URL)
)
BEE_URL
:=
https://www.laquadrature.net/wp-content/uploads/sites/8/2019/12/abeille.png
BEE_IMG
:=
$(
notdir
$(BEE_URL)
)
POSTERS_URL
:=
https://www.laquadrature.net/wp-content/uploads/sites/8/2019/12/affiches-1.png
POSTERS_IMG
:=
$(
notdir
$(POSTERS_URL)
)
all
:
$(TARGET_BASE).png $(TARGET_BASE).jpg
...
...
@@ -20,12 +28,24 @@ $(QR_IMG): Makefile
qrencode
--foreground
$(QRCOL)
--background
$(QRBGCOL)
-t
PNG
-s
10
-o
$@
"
$(QR_URL)
"
$(TARGET_BASE).png
:
$(TARGET_BASE).svg $(QR_IMG)
$(BG_IMG)
:
Makefile
wget
-O
$@
"
$(BG_URL)
"
touch
$@
$(BEE_IMG)
:
Makefile
wget
-O
$@
"
$(BEE_URL)
"
touch
$@
$(POSTERS_IMG)
:
Makefile
wget
-O
$@
"
$(POSTERS_URL)
"
touch
$@
$(TARGET_BASE).png
:
$(TARGET_BASE).svg $(QR_IMG) $(BG_IMG) $(BEE_IMG) $(POSTERS_IMG)
inkscape
$<
--export-png
$@
$(TARGET_BASE).jpg
:
$(TARGET_BASE).png
convert
$<
$@
clean
:
rm
-f
$(TARGET_BASE)
.png
$(TARGET_BASE)
.jpg
$(QR_IMG)
rm
-f
$(TARGET_BASE)
.png
$(TARGET_BASE)
.jpg
$(QR_IMG)
$(BG_IMG)
$(BEE_IMG)
$(POSTERS_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