2011-05-28 02:14:51 +02:00
|
|
|
#
|
2013-03-21 22:11:30 +01:00
|
|
|
# MacOSX-specific packaging script
|
2011-05-28 02:14:51 +02:00
|
|
|
#
|
|
|
|
|
2015-07-13 17:12:10 +02:00
|
|
|
ifndef TOP_LEVEL_MAKEFILE
|
2013-03-21 22:11:30 +01:00
|
|
|
$(error Top level Makefile must be used to build this target)
|
|
|
|
endif
|
|
|
|
|
|
|
|
.PHONY: package
|
2015-08-02 20:20:02 +02:00
|
|
|
package: gcs uavobjects_matlab | $(PACKAGE_DIR)
|
2015-03-17 09:15:44 +01:00
|
|
|
ifneq ($(GCS_BUILD_CONF),release)
|
|
|
|
# We can only package release builds
|
|
|
|
$(error Packaging is currently supported for release builds only)
|
|
|
|
endif
|
2011-05-28 02:14:51 +02:00
|
|
|
( \
|
|
|
|
ROOT_DIR="$(ROOT_DIR)" \
|
|
|
|
BUILD_DIR="$(BUILD_DIR)" \
|
2015-05-18 23:05:54 +02:00
|
|
|
GCS_BIG_NAME="$(GCS_BIG_NAME)" \
|
|
|
|
GCS_SMALL_NAME="$(GCS_SMALL_NAME)" \
|
2015-12-03 00:08:15 +01:00
|
|
|
WIKI_URL_ROOT="${WIKI_URL_ROOT}" \
|
2011-05-28 02:14:51 +02:00
|
|
|
PACKAGE_LBL="$(PACKAGE_LBL)" \
|
|
|
|
PACKAGE_DIR="$(PACKAGE_DIR)" \
|
2012-12-11 02:07:51 +01:00
|
|
|
PACKAGE_NAME="$(PACKAGE_NAME)" \
|
|
|
|
PACKAGE_SEP="$(PACKAGE_SEP)" \
|
2016-01-29 19:03:50 +01:00
|
|
|
QT_DIR="$(QT_SDK_PREFIX)/lib" \
|
2011-05-28 02:14:51 +02:00
|
|
|
"$(ROOT_DIR)/package/osx/package" \
|
|
|
|
)
|