diff options
author | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-27 10:33:40 +0000 |
---|---|---|
committer | ben <ben@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-01-27 10:33:40 +0000 |
commit | 968e965603f576d9f62955a8b58037f67447a3d4 (patch) | |
tree | 108272190d03cf33519a409f58e216253687c25c /grafik/Makefile | |
parent | 61ebcf57c1b4c633285d219e0dacb1a710b9bbd9 (diff) | |
download | neo-layout-968e965603f576d9f62955a8b58037f67447a3d4.tar.gz neo-layout-968e965603f576d9f62955a8b58037f67447a3d4.tar.bz2 neo-layout-968e965603f576d9f62955a8b58037f67447a3d4.zip |
Startseite noch etwas vereinfacht und pngs automatisch erzeugen lassen
git-svn-id: https://svn.neo-layout.org@1552 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'grafik/Makefile')
-rw-r--r-- | grafik/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/grafik/Makefile b/grafik/Makefile index de094ce..1453d14 100644 --- a/grafik/Makefile +++ b/grafik/Makefile @@ -11,8 +11,9 @@ PNGFILES=$(addsuffix .png,$(basename ${SVGFILES})) default: pdf png pdf: ${PDFFILES} -png: ${PNGFILES} ebenen +png: ${PNGFILES} ebenen www ebenen: ${EBENENPNG} +www: $(addsuffix .png,$(basename $(shell find ../www -name "*.svg"))) clean: cleanpng cleanpdf @@ -35,6 +36,7 @@ tastatur3d/hauptfeld/%.png: tastatur3d/%.svg mkdir -p tastatur3d/hauptfeld inkscape --without-gui --export-id="Haupttastaturfeld" --export-png=$@ -h200 tastatur3d/$*.svg mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ + mogrify -depth 8 $@ tastatur3d/ziffernfeld/%.png: tastatur3d/%.svg mkdir -p tastatur3d/ziffernfeld @@ -53,6 +55,11 @@ tastatur3d/haupt_ziffern_feld/%.png: tastatur3d/%.svg tastatur3d/hauptfeld/%.png %.pdf: %.svg inkscape --without-gui --export-pdf=$@ $< +../www/%.png: ../www/%.svg + inkscape --without-gui --export-png=$@ $< + mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ + mogrify -depth 8 $@ + %.png: %.svg inkscape --without-gui --export-png=$@ -w1000 $< mogrify -colors 256 -type Palette +dither -alpha off -alpha on $@ |