Skip to content

Commit

Permalink
Updated Makefile to only build release OS X app bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiah-sypult committed Jul 18, 2013
1 parent 95138f4 commit 744651f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1205,8 +1205,8 @@ endif

NAKED_TARGETS=$(shell echo $(TARGETS) | sed -e "s!$(B)/!!g")

MACOSX_TARGET_STRING=$(shell if [ "$(B)" == "$(BR)" ]; then echo "release"; elif [ "$(B)" == "$(BD)" ]; then echo "debug"; fi)
MACOSX_MAKE_APP=@if [ -x "./make-macosx-app.sh" ]; then "./make-macosx-app.sh" $(MACOSX_TARGET_STRING) $(ARCH); fi
#MACOSX_TARGET_STRING=$(shell if [ "$(B)" == "$(BR)" ]; then echo "release"; elif [ "$(B)" == "$(BD)" ]; then echo "debug"; fi)
MACOSX_MAKE_APP=@if [ -x "./make-macosx-app.sh" ]; then "./make-macosx-app.sh" release $(ARCH); fi

print_list=@for i in $(1); \
do \
Expand Down
6 changes: 3 additions & 3 deletions make-macosx-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ if [ "${IOQ3_CLIENT_ARCHS}" == "" ]; then
echo "$0: no ioquake3 binary architectures were found for target '${TARGET_NAME}'"
exit 1
else
echo "Creating bundle '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}'\c"
echo " with architectures: \c"
echo "Creating bundle '${BUILT_PRODUCTS_DIR}/${WRAPPER_NAME}'"
echo "with architectures:"
for ARCH in ${VALID_ARCHS}; do
echo "${ARCH} \c"
echo " ${ARCH}"
done
echo ""
fi
Expand Down

0 comments on commit 744651f

Please sign in to comment.