summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grafik/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/grafik/Makefile b/grafik/Makefile
index 1453d14..608f168 100644
--- a/grafik/Makefile
+++ b/grafik/Makefile
@@ -37,12 +37,14 @@ tastatur3d/hauptfeld/%.png: tastatur3d/%.svg
inkscape --without-gui --export-id="Haupttastaturfeld" --export-png=$@ -h200 tastatur3d/$*.svg
mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@
mogrify -depth 8 $@
+ optipng $@
tastatur3d/ziffernfeld/%.png: tastatur3d/%.svg
mkdir -p tastatur3d/ziffernfeld
inkscape --without-gui --export-id="Ziffernblock" --export-png=$@ -h200 tastatur3d/$*.svg
mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@
mogrify -depth 8 $@
+ optipng $@
tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png tastatur3d/ziffernfeld/%.png
mkdir -p tastatur3d/haupt_ziffern_feld
@@ -51,6 +53,7 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png
rm /tmp/$*_tmp.png
mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@
mogrify -depth 8 $@
+ optipng $@
%.pdf: %.svg
inkscape --without-gui --export-pdf=$@ $<
@@ -59,10 +62,12 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png
inkscape --without-gui --export-png=$@ $<
mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@
mogrify -depth 8 $@
+ optipng $@
%.png: %.svg
inkscape --without-gui --export-png=$@ -w1000 $<
mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@
mogrify -depth 8 $@
+ optipng $@
.PHONY: default clean pdf cleanpdf png cleanpng ebenen cleanebenen