Build osx-bundle-restart-helper via the Makefile rather than as part of bundle creation

This commit is contained in:
Thomas Goyne 2013-10-15 11:39:34 -07:00
parent ebd01c50c9
commit d4a7a1a9b6
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -58,6 +58,7 @@ aegisub/src/libresrc/default_config.cpp
aegisub/src/libresrc/default_config.h aegisub/src/libresrc/default_config.h
aegisub/src/libresrc/default_config_platform.json aegisub/src/libresrc/default_config_platform.json
aegisub/tools/common-respack aegisub/tools/common-respack
aegisub/tools/osx-bundle-restart-helper
aegisub/tools/osx-bundle.sed aegisub/tools/osx-bundle.sed
autom4te.cache autom4te.cache
config.log config.log

View File

@ -4,12 +4,13 @@ PROGRAM = common-respack
SRC += common-respack.cpp SRC += common-respack.cpp
ifdef $(BUILD_DARWIN) ifeq (yes, $(BUILD_DARWIN))
bin_PROGRAMS += osx-bundle-restart-helper osx-bundle-restart-helper: osx-bundle-restart-helper.c
osx_bundle_restart_helper_SOURCES = osx-bundle-restart-helper.c $(BIN_CC) -o osx-bundle-restart-helper osx-bundle-restart-helper.c
CLEANFILES += osx-bundle-restart-helper
all: osx-bundle-restart-helper
endif endif
EXTRA_DIST = \ EXTRA_DIST = \
osx-bundle-restart-helper.c \ osx-bundle-restart-helper.c \
osx-bundle.sh \ osx-bundle.sh \

View File

@ -118,8 +118,7 @@ cp -v src/${AEGISUB_BIN} "${PKG_DIR}/Contents/MacOS/aegisub"
echo echo
echo " ---- Build / install restart-helper ----" echo " ---- Build / install restart-helper ----"
echo cc -o "${PKG_DIR}/Contents/MacOS/restart-helper tools/osx-bundle-restart-helper.c" cp -v tools/osx-bundle-restart-helper.c "${PKG_DIR}/Contents/MacOS/restart-helper"
${CC} -o "${PKG_DIR}/Contents/MacOS/restart-helper" tools/osx-bundle-restart-helper.c || exit $?
echo echo