| 1 |
NULL = |
| 2 |
|
| 3 |
png_icons = \ |
| 4 |
font-x-generic.png \ |
| 5 |
text-html.png \ |
| 6 |
text-x-generic.png \ |
| 7 |
text-x-generic-template.png \ |
| 8 |
text-x-preview.png \ |
| 9 |
text-x-script.png \ |
| 10 |
x-office-document.png \ |
| 11 |
x-office-document-template.png \ |
| 12 |
x-office-drawing.png \ |
| 13 |
x-office-drawing-template.png \ |
| 14 |
x-office-spreadsheet.png \ |
| 15 |
x-office-spreadsheet-template.png \ |
| 16 |
$(NULL) |
| 17 |
|
| 18 |
font-x-generic.png: ../../../src/paper-sheets.svg |
| 19 |
@echo " "$@ |
| 20 |
@inkscape -z $^ --export-area=300:396:324:420 -w=24 -h=24 -e=$@ 1> /dev/null |
| 21 |
@mogrify -quiet -strip $@ |
| 22 |
|
| 23 |
text-html.png: ../../../src/paper-sheets.svg |
| 24 |
@echo " "$@ |
| 25 |
@inkscape -z $^ --export-area=300:1000:324:1024 -w=24 -h=24 -e=$@ 1> /dev/null |
| 26 |
@mogrify -quiet -strip $@ |
| 27 |
|
| 28 |
text-x-generic.png: ../../../src/paper-sheets.svg |
| 29 |
@echo " "$@ |
| 30 |
@inkscape -z $^ --export-area=700:1000:724:1024 -w=24 -h=24 -e=$@ 1> /dev/null |
| 31 |
@mogrify -quiet -strip $@ |
| 32 |
|
| 33 |
text-x-generic-template.png: ../../../src/paper-sheets.svg |
| 34 |
@echo " "$@ |
| 35 |
@inkscape -z $^ --export-area=1100:1000:1124:1024 -w=24 -h=24 -e=$@ 1> /dev/null |
| 36 |
@mogrify -quiet -strip $@ |
| 37 |
|
| 38 |
text-x-preview.png: ../../../src/paper-sheets.svg |
| 39 |
@echo " "$@ |
| 40 |
@inkscape -z $^ --export-area=1100:96:1124:120 -w=24 -h=24 -e=$@ 1> /dev/null |
| 41 |
@mogrify -quiet -strip $@ |
| 42 |
|
| 43 |
text-x-script.png: ../../../src/paper-sheets.svg |
| 44 |
@echo " "$@ |
| 45 |
@inkscape -z $^ --export-area=1500:1000:1524:1024 -w=24 -h=24 -e=$@ 1> /dev/null |
| 46 |
@mogrify -quiet -strip $@ |
| 47 |
|
| 48 |
x-office-document.png: ../../../src/paper-sheets.svg |
| 49 |
@echo " "$@ |
| 50 |
@inkscape -z $^ --export-area=1900:1000:1924:1024 -w=24 -h=24 -e=$@ 1> /dev/null |
| 51 |
@mogrify -quiet -strip $@ |
| 52 |
|
| 53 |
x-office-document-template.png: ../../../src/paper-sheets.svg |
| 54 |
@echo " "$@ |
| 55 |
@inkscape -z $^ --export-area=300:700:324:724 -w=24 -h=24 -e=$@ 1> /dev/null |
| 56 |
@mogrify -quiet -strip $@ |
| 57 |
|
| 58 |
x-office-drawing.png: ../../../src/paper-sheets.svg |
| 59 |
@echo " "$@ |
| 60 |
@inkscape -z $^ --export-area=700:700:724:724 -w=24 -h=24 -e=$@ 1> /dev/null |
| 61 |
@mogrify -quiet -strip $@ |
| 62 |
|
| 63 |
x-office-drawing-template.png: ../../../src/paper-sheets.svg |
| 64 |
@echo " "$@ |
| 65 |
@inkscape -z $^ --export-area=1100:700:1124:724 -w=24 -h=24 -e=$@ 1> /dev/null |
| 66 |
@mogrify -quiet -strip $@ |
| 67 |
|
| 68 |
x-office-spreadsheet.png: ../../../src/paper-sheets.svg |
| 69 |
@echo " "$@ |
| 70 |
@inkscape -z $^ --export-area=1500:696:1524:720 -w=24 -h=24 -e=$@ 1> /dev/null |
| 71 |
@mogrify -quiet -strip $@ |
| 72 |
|
| 73 |
x-office-spreadsheet-template.png: ../../../src/paper-sheets.svg |
| 74 |
@echo " "$@ |
| 75 |
@inkscape -z $^ --export-area=1900:696:1924:720 -w=24 -h=24 -e=$@ 1> /dev/null |
| 76 |
@mogrify -quiet -strip $@ |
| 77 |
|
| 78 |
.PHONY: build-png-icons-local clean-png-icons-local |
| 79 |
build-png-icons-local: $(png_icons) |
| 80 |
|
| 81 |
clean-png-icons-local: |
| 82 |
@echo " Cleaning icons..." |
| 83 |
@rm -f $(png_icons) |