Skip to content

Commit

Permalink
WEBOS: Splitted install directory from package directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
kayahr committed May 8, 2011
1 parent 9e4edcd commit 1e701b3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions backends/platform/webos/webos.mk
Expand Up @@ -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)"
Expand Down Expand Up @@ -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

0 comments on commit 1e701b3

Please sign in to comment.