Skip to content

Commit 2aa82c0

Browse files
author
rblazek
committed
convert gif to png
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5856 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent aa00f37 commit 2aa82c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile.win

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ cpgrass:
2525
cp -r $(GRASS_BASE)/scripts $(prefix)/grass
2626
cp -r $(GRASS_BASE)/lib/*.dll $(prefix)
2727
cp -r $(GRASS_BASE)/docs/html $(prefix)/grass/docs
28+
# Qt does not support GIF by default
29+
if [ -f $(GRASS_BASE)/docs/html/grass.smlogo.gif ] ; then \
30+
convert $(GRASS_BASE)/docs/html/grass.smlogo.gif $(prefix)/grass/docs/html/grass.smlogo.png ; \
31+
fi
32+
@list=`ls $(GRASS_BASE)/docs/html/*.html`; \
33+
for f in $$list; do \
34+
cat $$f |sed 's/grass.smlogo.gif/grass.smlogo.png/' > $(prefix)/grass/docs/html/`basename $$f` ; \
35+
done
2836
@list=`ls $(prefix)/grass_*.dll`; \
2937
for f in $$list; do \
3038
$(STRIP) $$f; \

0 commit comments

Comments
 (0)