view doku/funktionsweise/Makefile @ 188:43f1cbdcd597

Modified and beautified the documentation: * INSTALL.txt, doku/Makefile, doku/source/conf.py, doku/source/functionality.txt, doku/source/index.txt, doku/source/restrictions.txt, website/favicon.png, LICENCE.txt: added more details to the content of the documentation. some more configurations. * doku/source/LICENCE.txt: New. Added a licence-text (symlinking into the documentation). * doku/source/_static/favicon.png, doku/source/_static/logo_wide.png, doku/source/_templates/indexsidebar.html, doku/source/_templates/layout.html: Optic-cosmetics.
author Stephan Holl <stephan.holl@intevation.de>
date Wed, 20 Jul 2011 15:53:01 +0200
parents 2cbf8bdf20b2
children
line wrap: on
line source
# Makefile to get images from vector drawings. 
# Sketch (.sk)
# SVG (.sk)

SKS=$(wildcard *.sk)
SVG=$(wildcard *.svg)
PNG=$(wildcard *.png)

OUTPUT_PNG_SK=$(SKS:sk=png)
OUTPUT_PNG_SVG=$(SVG:svg=png)
OUTPUT_PS_PNG=$(PNG:png=ps)
OUTPUT_PS_SVG=$(SVG:svg=eps)

all: png

png:	$(OUTPUT_PNG_SK) $(OUTPUT_PNG_SVG)

ps:	$(OUTPUT_PS_SVG) $(OUTPUT_PS_PNG)

%.png:	%.sk
	sk2ppm --bbox $*.sk | pnmtopng - > $*.png

%.png:	%.svg
	inkscape -d 150 -D -e $*.png $*.svg

%.ps:	%.png
	convert $*.png $*.ps

%.eps:	%.svg
	inkscape -d 150 -D -E $*.eps $*.svg

clean:
	rm -f $(OUTPUT_PNG_SK) 2>/dev/null; true
	rm -f $(OUTPUT_PNG_SVG) 2>/dev/null; true
	rm -f $(OUTPUT_PS_PNG) 2>/dev/null; true
	rm -f $(OUTPUT_PS_SVG) 2>/dev/null; true


.PHONY:	png ps clean
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)