other-licenses/branding/sunbird/Makefile.in
author Justin Wood <bugspam.Callek@gmail.com>
Mon, 01 Dec 2008 18:27:18 +0100
changeset 1280 87c1dc594c9b9a8f4af5f93943fe64cf0ce7d123
parent 372 7c0bfdcda6731e77303f3c47b01736aaa93d5534
child 3276 24ca0f65ebe0e2d77e23bb7af46d84e27aa368f2
permissions -rw-r--r--
bug 465521 - client.py needs a way to update the default repo for m-c, add move_to_stable functionality to switch comm-central pulls to mozilla-1.9.1 branch, r=Standard8,davida,KaiRo

# Branding Makefile
#  - jars chrome artwork
#  - copies artwork to appropriate places in objdir for bundling into app 
#    resources

DEPTH = ../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@

include $(DEPTH)/config/autoconf.mk

DIRS = \
	content \
	locales \
	$(NULL)

include $(topsrcdir)/config/rules.mk

CALENDAR_APP_FILES = \
	default.xpm \
	mozicon128.png \
	mozicon16.xpm \
	mozicon50.xpm \
	sunbird.ico \
	$(NULL)

export::
	$(NSINSTALL) -D $(DIST)/branding
	cp $(addprefix $(srcdir)/, $(CALENDAR_APP_FILES)) $(DIST)/branding/
ifneq (,$(filter gtk gtk2,$(MOZ_WIDGET_TOOLKIT)))
	$(NSINSTALL) -D $(DIST)/install
	cp $(srcdir)/header.png    $(DIST)/install/header.png
	cp $(srcdir)/watermark.png $(DIST)/install/watermark.png
endif
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
	cp $(srcdir)/sunbird.icns  $(DIST)/branding/sunbird.icns
	cp $(srcdir)/sb_ICS.icns  $(DIST)/branding/sb_ICS.icns
	cp $(srcdir)/document.icns $(DIST)/branding/document.icns
	cp $(srcdir)/dsstore $(DIST)/branding/dsstore
	cp $(srcdir)/background.png $(DIST)/branding/background.png
	cp $(srcdir)/disk.icns $(DIST)/branding/disk.icns
	cp $(srcdir)/license.r $(DIST)/branding/license.r
endif
ifeq ($(OS_ARCH),WINNT)
	cp $(srcdir)/sunbird.ico  $(DIST)/branding/app.ico
	cp $(srcdir)/Header.bmp   $(DIST)/branding/Header.bmp
	cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
	cp $(srcdir)/branding.nsi      $(DIST)/branding/branding.nsi
	cp $(srcdir)/license.txt  $(DIST)/branding/license.txt
	cp $(srcdir)/wizHeader.bmp     $(DIST)/branding/wizHeader.bmp
	cp $(srcdir)/wizHeaderRTL.bmp  $(DIST)/branding/wizHeaderRTL.bmp
	cp $(srcdir)/wizWatermark.bmp  $(DIST)/branding/wizWatermark.bmp
endif
ifeq ($(OS_ARCH),OS2)
	cp $(srcdir)/sunbird-os2.ico  $(DIST)/branding/sunbird.ico
	cp $(srcdir)/sunbird-os2.ico  $(DIST)/branding/app.ico
	cp $(srcdir)/Header.bmp   $(DIST)/branding/Header.bmp
	cp $(srcdir)/Watermrk.bmp $(DIST)/branding/Watermrk.bmp
endif