]> git.ipfire.org Git - artwork.git/commitdiff
social: Generate a banner for LinkedIn
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Jun 2026 17:32:40 +0000 (18:32 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 17 Jun 2026 17:32:40 +0000 (18:32 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile

index 13e405472f0d60323ab373da28efee6b3413cfdd..59897a68bb77e04195c8f3e8734969d30e51dc22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,10 @@ OBJECTS += \
 OBJECTS += \
        bios/boot-logo.bmp
 
+# Social Media Stuff
+OBJECTS += \
+       social/linkedin/banner.png
+
 # Colors
 PRIMARY = ff2e52
 DARK    = 363636
@@ -189,6 +193,11 @@ bios/boot-logo.bmp: logo-inverted-standalone.svg
        $(MAGICK) - -background "#$(BLACK)" -gravity center -extent 800x600 \
                -alpha remove -alpha off -type TrueColor BMP3:$@
 
+# LinkedIn Banner
+social/linkedin/banner.png:
+       mkdir -p $(dir $@) && \
+       $(MAGICK) -size 4200x700 "xc:#$(PRIMARY)" $@
+
 .PHONY: clean
 clean:
        # Remove all generated objects