diff options
author | Bruno Coudoin <bruno.coudoin@free.fr> | 2009-08-19 15:57:18 (GMT) |
---|---|---|
committer | Bruno Coudoin <bruno.coudoin@free.fr> | 2009-08-19 16:14:15 (GMT) |
commit | 0f852ca373f89821a5f836e1e8a5a09539a843b3 (patch) | |
tree | 8ee00548c8a6b4a9f4010f7cd83c776fb6a5b628 /Makefile.mingw.in | |
parent | c34268a353978b1dcc94090e8ef2269e363b437a (diff) |
Added an entry to transform this release from svg based to png.
Needed for windows until we have a good support of svg on this
platform.
Diffstat (limited to 'Makefile.mingw.in')
-rw-r--r-- | Makefile.mingw.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.mingw.in b/Makefile.mingw.in index 8a19f08..fbe36f9 100644 --- a/Makefile.mingw.in +++ b/Makefile.mingw.in @@ -153,3 +153,11 @@ prep: Makefile.mingw find $(GCOMPRIS_INSTALL_DIR) -name "*.in" -exec rm -f {} \; find $(GCOMPRIS_INSTALL_DIR) -name "*~" -exec rm -f {} \; +svg2png: + sed -i "s:\(/[a-zA-Z_-]\+\\.\)svg:\1png:g" boards/*.xml.in + sed -i "s:\(/[a-zA-Z_-]\+\\.\)svg:\1png:g" src/*/*.c + sed -i "s:\(/[a-zA-Z_-]\+\\.\)svg:\1png:g" src/*/*/*.py + for f in `find boards -name '*.svg'`; \ + do e=`echo $$f | sed s/.svg/.png/`; \ + inkscape -z -f $$f -e $$e; \ + done |