aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Reimer2011-05-08 20:56:08 +0200
committerKlaus Reimer2011-05-08 20:58:08 +0200
commit1e701b3769e09fabe2e2af3d04e698388e9fecee (patch)
treea5e793f39c41263a95a66d3056818ab873140f23
parent9e4edcdc1f1b85f1e10181188e64f461d486bf1f (diff)
downloadscummvm-rg350-1e701b3769e09fabe2e2af3d04e698388e9fecee.tar.gz
scummvm-rg350-1e701b3769e09fabe2e2af3d04e698388e9fecee.tar.bz2
scummvm-rg350-1e701b3769e09fabe2e2af3d04e698388e9fecee.zip
WEBOS: Splitted install directory from package directory.
-rw-r--r--backends/platform/webos/webos.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/backends/platform/webos/webos.mk b/backends/platform/webos/webos.mk
index 2b145b00c9..37223ac56c 100644
--- a/backends/platform/webos/webos.mk
+++ b/backends/platform/webos/webos.mk
@@ -58,7 +58,8 @@ PATH_DIST = $(srcdir)/dists/webos
PATH_MOJO = $(PATH_DIST)/mojo
APP_ID = $(shell basename $(prefix))
APP_VERSION = $(shell printf "%d.%d.%02d%02d" $(VER_MAJOR) $(VER_MINOR) $(VER_PATCH) $(VER_PACKAGE))
-DESTDIR ?= portdist
+DESTDIR ?= staging
+PORTDISTDIR ?= portdist
install: all
$(QUIET)$(INSTALL) -d "$(DESTDIR)$(prefix)"
@@ -87,5 +88,9 @@ endif
uninstall:
$(QUIET)$(RM_REC) "$(DESTDIR)$(prefix)"
-package: install
- $(QUIET)$(WEBOS_SDK)/bin/palm-package --use-v1-format "$(DESTDIR)$(prefix)" -o "$(DESTDIR)"
+package: uninstall install
+ $(QUIET)$(RM_REC) "$(PORTDISTDIR)"
+ $(QUIET)$(MKDIR) "$(PORTDISTDIR)"
+ $(QUIET)$(WEBOS_SDK)/bin/palm-package --use-v1-format "$(DESTDIR)$(prefix)" -o "$(PORTDISTDIR)"
+
+.PHONY: install uninstall package