mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-11 19:24:10 +01:00
24 lines
599 B
Makefile
24 lines
599 B
Makefile
#
|
|
# MacOSX-specific packaging script
|
|
#
|
|
|
|
ifndef OPENPILOT_IS_COOL
|
|
$(error Top level Makefile must be used to build this target)
|
|
endif
|
|
|
|
.PHONY: package
|
|
package: openpilotgcs uavobjects_matlab | $(PACKAGE_DIR)
|
|
ifneq ($(GCS_BUILD_CONF),release)
|
|
# We can only package release builds
|
|
$(error Packaging is currently supported for release builds only)
|
|
endif
|
|
( \
|
|
ROOT_DIR="$(ROOT_DIR)" \
|
|
BUILD_DIR="$(BUILD_DIR)" \
|
|
PACKAGE_LBL="$(PACKAGE_LBL)" \
|
|
PACKAGE_DIR="$(PACKAGE_DIR)" \
|
|
PACKAGE_NAME="$(PACKAGE_NAME)" \
|
|
PACKAGE_SEP="$(PACKAGE_SEP)" \
|
|
"$(ROOT_DIR)/package/osx/package" \
|
|
)
|