summaryrefslogtreecommitdiffhomepage
path: root/website/content/assets/logos/Makefile
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-05-06 14:15:15 -0700
committerAdin Scannell <ascannell@google.com>2020-05-06 14:15:15 -0700
commite8bb5832b32d865e8dc257b01bebfd7dafeaaccf (patch)
treec5ea0518f0aa7ac1fcc999119030e931500d864c /website/content/assets/logos/Makefile
parent279f1eb7abb28966ef633fa61418bffad4a716b0 (diff)
parent957e26a6f30d40e2bff042d76a327d0a2cfbabae (diff)
Merge gvisor-website
Diffstat (limited to 'website/content/assets/logos/Makefile')
-rwxr-xr-xwebsite/content/assets/logos/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/website/content/assets/logos/Makefile b/website/content/assets/logos/Makefile
new file mode 100755
index 000000000..49289ecc1
--- /dev/null
+++ b/website/content/assets/logos/Makefile
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+srcs := $(wildcard *.svg)
+dsts := $(patsubst %.svg,%.png,$(srcs))
+
+all: $(dsts)
+.PHONY: all
+
+%.png %-16.png %-128.png %-1024.png: %.svg
+ @inkscape -z -e $*.png $<
+ @inkscape -z -w 16 -e $*-16.png $<
+ @inkscape -z -w 128 -e $*-128.png $<
+ @inkscape -z -w 1024 -e $*-1024.png $<