git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/misc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/Makefile')
-rw-r--r--misc/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
new file mode 100644
index 0000000..1066fbe
--- /dev/null
+++ b/misc/Makefile
@@ -0,0 +1,11 @@
+VERSION = 3.82
+
+all: svgcleaner
+
+svgcleaner: svgc-exists svgc-exec
+
+svgc-exists:
+ @command -V svgcleaner-cli > /dev/null
+
+svgc-exec:
+ @@svgcleaner-cli cgit-raw.svg cgit.svg --remove-unused-defs --remove-nonsvg-elts --remove-inkscape-elts --remove-sodipodi-elts --remove-ai-elts --remove-corel-elts --remove-msvisio-elts --remove-sketch-elts --remove-invisible-elts --remove-empty-containers --remove-duplicated-defs --equal-elts-to-use --ungroup-containers --remove-notappl-atts --remove-inkscape-atts --remove-sodipodi-atts --remove-ai-atts --remove-corel-atts --remove-msvisio-atts --remove-sketch-atts --remove-stroke-props --remove-fill-props --remove-unused-xlinks --group-elts-by-styles --simplify-transform-matrix --apply-transforms-to-shapes --join-style-atts --remove-unneeded-symbols --apply-transforms-to-paths --create-viewbox --colors-to-rrggbb --convert-basic-shapes