summaryrefslogtreecommitdiff
path: root/mate/256x256/mimetypes/Makefile.am
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-12 22:42:30 +0200
committerraveit65 <[email protected]>2019-08-20 00:26:38 +0200
commit9fb9c47166ee36ba846bd4cc7703e3a6696e4d07 (patch)
tree379c60e0b531f73fab30e0f79dc4060a9fc34540 /mate/256x256/mimetypes/Makefile.am
parent88d7ce676027bd9d463850893a4ecfa679db11fb (diff)
downloadmate-icon-theme-9fb9c47166ee36ba846bd4cc7703e3a6696e4d07.tar.bz2
mate-icon-theme-9fb9c47166ee36ba846bd4cc7703e3a6696e4d07.tar.xz
Gen png mimetypes icons from paper-sheets.svg - Mate theme
clean & build: make -C mate/16x16/mimetypes clean-png-icons build-png-icons make -C mate/22x22/mimetypes clean-png-icons build-png-icons make -C mate/24x24/mimetypes clean-png-icons build-png-icons make -C mate/32x32/mimetypes clean-png-icons build-png-icons make -C mate/48x48/mimetypes clean-png-icons build-png-icons make -C mate/256x256/mimetypes clean-png-icons build-png-icons
Diffstat (limited to 'mate/256x256/mimetypes/Makefile.am')
-rw-r--r--mate/256x256/mimetypes/Makefile.am83
1 files changed, 83 insertions, 0 deletions
diff --git a/mate/256x256/mimetypes/Makefile.am b/mate/256x256/mimetypes/Makefile.am
new file mode 100644
index 0000000..466ff62
--- /dev/null
+++ b/mate/256x256/mimetypes/Makefile.am
@@ -0,0 +1,83 @@
+NULL =
+
+png_icons = \
+ font-x-generic.png \
+ text-html.png \
+ text-x-generic.png \
+ text-x-generic-template.png \
+ text-x-preview.png \
+ text-x-script.png \
+ x-office-document.png \
+ x-office-document-template.png \
+ x-office-drawing.png \
+ x-office-drawing-template.png \
+ x-office-spreadsheet.png \
+ x-office-spreadsheet-template.png \
+ $(NULL)
+
+font-x-generic.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=20:308:276:564 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+text-html.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=20:912:276:1168 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+text-x-generic.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=420:912:676:1168 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+text-x-generic-template.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=820:912:1076:1168 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+text-x-preview.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=820:8:1076:264 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+text-x-script.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=1220:912:1476:1168 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+x-office-document.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=1620:912:1876:1168 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+x-office-document-template.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=20:612:276:868 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+x-office-drawing.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=420:612:676:868 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+x-office-drawing-template.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=820:612:1076:868 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+x-office-spreadsheet.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=1220:608:1476:864 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+x-office-spreadsheet-template.png: ../../../src/paper-sheets.svg
+ @echo " "$@
+ @inkscape -z $^ --export-area=1620:608:1876:864 -w=256 -h=256 -e=$@ 1> /dev/null
+ @mogrify -quiet -strip $@
+
+.PHONY: build-png-icons-local clean-png-icons-local
+build-png-icons-local: $(png_icons)
+
+clean-png-icons-local:
+ @echo " Cleaning icons..."
+ @rm -f $(png_icons)