git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/misc/Makefile
diff options
context:
space:
mode:
authorH. P. <harald.p.@xmart.de> 2018-06-27 11:11:03 +0200
committerH. P. <harald.p.@xmart.de> 2018-06-27 11:11:03 +0200
commitc55996adbb58ea040a9dab19e7db0fcb980b9b4a (patch)
treea606f29a17b9db5611b8ff05cf13e616b5a0b3f2 /misc/Makefile
parentcb75e41f73fca556b15f5fae5e32eb477d911ec3 (diff)
downloadcgit-config-c55996adbb58ea040a9dab19e7db0fcb980b9b4a.tar.bz2
Adding cgit SVG
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