diff options
Diffstat (limited to 'Makefile.mingw.in')
-rw-r--r-- | Makefile.mingw.in | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile.mingw.in b/Makefile.mingw.in index fbe36f9..fd08a89 100644 --- a/Makefile.mingw.in +++ b/Makefile.mingw.in @@ -152,12 +152,15 @@ prep: Makefile.mingw find $(GCOMPRIS_INSTALL_DIR) -name "Makefile*" -exec rm -f {} \; find $(GCOMPRIS_INSTALL_DIR) -name "*.in" -exec rm -f {} \; find $(GCOMPRIS_INSTALL_DIR) -name "*~" -exec rm -f {} \; + @echo Remove svg files + find $(GCOMPRIS_INSTALL_DIR) -name "*.svg" 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 + sed -i "s:\(/[a-zA-Z0-9_-]\+\\.\)svg:\1png:g" boards/*.xml.in + sed -i "s:\(/[a-zA-Z0-9_-]\+\\.\)svg:\1png:g" src/*/*.c + sed -i "s:\(/[a-zA-Z0-9_-]\+\\.\)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 + cd boards && make && cd .. |