aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/webos/webos.mk
blob: 885c9eb90ea0e072b54c350dae22d75892a2c994 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# WebOS specific build targets

PATH_DIST = $(srcdir)/dists/webos
PATH_MOJO = $(PATH_DIST)/mojo

STAGING_DIR=STAGING/org.scummvm.scummvm

webosrelease:
	rm -rf $(STAGING_DIR)
	rm -f *.ipk
	mkdir -p $(STAGING_DIR)
	mkdir -p $(STAGING_DIR)/bin
	mkdir -p $(STAGING_DIR)/lib
	mkdir -p $(STAGING_DIR)/share/scummvm
	cp -f $(PATH_MOJO)/* $(STAGING_DIR)
	cp -f gui/themes/translations.dat $(STAGING_DIR)/share/scummvm
	cp -f gui/themes/scummmodern.zip $(STAGING_DIR)/share/scummvm
	cp -f scummvm $(STAGING_DIR)/bin
	$(STRIP) $(STAGING_DIR)/bin/scummvm
	$(WEBOS_SDK)/bin/palm-package $(STAGING_DIR)
	rm -rf STAGING

.PHONY: webosrelease