summaryrefslogtreecommitdiffstats
path: root/grafik/Makefile
diff options
context:
space:
mode:
authordennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-30 01:40:11 +0000
committerdennis <dennis@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-01-30 01:40:11 +0000
commit072e461601ccb455a4ce8b9adf9766e2aadb7aac (patch)
treed6b0ee0f760c4f69569b58340d57c168c540d7fb /grafik/Makefile
parent82abb6698773eed40184b2277c35078cde1fee5d (diff)
optipng mitaufgenommen.
git-svn-id: https://svn.neo-layout.org@1567 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-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