Joel Holdsworth : makefiles: Added a rule for building BMPs from SVGs.
Alexandre Julliard
julliard at winehq.org
Sun Apr 25 20:01:48 CDT 2010
Module: wine
Branch: master
Commit: 66bd5f79cc9b9529c1a1a496a1d9c16907e4d107
URL: http://source.winehq.org/git/wine.git/?a=commit;h=66bd5f79cc9b9529c1a1a496a1d9c16907e4d107
Author: Joel Holdsworth <joel at airwebreathe.org.uk>
Date: Sat Apr 24 14:06:11 2010 +0100
makefiles: Added a rule for building BMPs from SVGs.
---
Make.rules.in | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/Make.rules.in b/Make.rules.in
index 7b571ed..cc6d602 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -136,7 +136,7 @@ filter: dummy
# Implicit rules
-.SUFFIXES: .mc .rc .mc.rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico
+.SUFFIXES: .mc .rc .mc.rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.c.o:
$(CC) -c $(ALLCFLAGS) -o $@ $<
@@ -192,6 +192,11 @@ filter: dummy
.svg.ico:
CONVERT="$(CONVERT)" ICOTOOL="$(ICOTOOL)" RSVG="$(RSVG)" $(BUILDICON) $< $@
+.svg.bmp:
+ $(RSVG) $< $<.png
+ $(CONVERT) $<.png -alpha off $@
+ $(RM) $<.png
+
# Rules for IDL files
dlldata.c: $(WIDL) Makefile.in
More information about the wine-cvs
mailing list