summaryrefslogtreecommitdiff
path: root/branding/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'branding/Makefile.in')
-rw-r--r--branding/Makefile.in40
1 files changed, 40 insertions, 0 deletions
diff --git a/branding/Makefile.in b/branding/Makefile.in
new file mode 100644
index 0000000..b395c62
--- /dev/null
+++ b/branding/Makefile.in
@@ -0,0 +1,40 @@
+# Branding Makefile
+# - jars chrome artwork
+# - copies artwork to appropriate places in objdir for bundling into app
+# resources
+
+ifdef BRANDING_TEST
+DEFINES += -DBRANDING_TEST
+endif
+
+include $(topsrcdir)/config/rules.mk
+
+BROWSER_APP_FILES = \
+ default16.png \
+ default32.png \
+ default48.png \
+ mozicon128.png \
+ $(NULL)
+
+GARBAGE += $(BROWSER_APP_FILES)
+
+export:: $(BROWSER_APP_FILES)
+ $(NSINSTALL) -D $(DIST)/branding
+ cp $(BROWSER_APP_FILES) $(DIST)/branding/
+
+GARBAGE += iceweasel.png
+
+default64.png: SIZE=64
+mozicon128.png: SIZE=128
+default16.png: SIZE=16
+default32.png: SIZE=32
+default48.png: SIZE=48
+GARBAGE += document_icon.png default64.png
+
+mozicon128.png default16.png default32.png default48.png default64.png: $(srcdir)/iceweasel_icon.svg
+ rsvg-convert -w $(SIZE) -h $(SIZE) -o $@ $<
+
+iceweasel_logo.png: $(srcdir)/iceweasel_logo.svg
+ rsvg-convert -w 256 -a -o $@ $<
+
+GARBAGE += iceweasel_logo.png