mirror of https://github.com/odrling/Aegisub
Build osx-bundle-restart-helper via the Makefile rather than as part of bundle creation
This commit is contained in:
parent
ebd01c50c9
commit
d4a7a1a9b6
|
@ -58,6 +58,7 @@ aegisub/src/libresrc/default_config.cpp
|
|||
aegisub/src/libresrc/default_config.h
|
||||
aegisub/src/libresrc/default_config_platform.json
|
||||
aegisub/tools/common-respack
|
||||
aegisub/tools/osx-bundle-restart-helper
|
||||
aegisub/tools/osx-bundle.sed
|
||||
autom4te.cache
|
||||
config.log
|
||||
|
|
|
@ -4,12 +4,13 @@ PROGRAM = common-respack
|
|||
|
||||
SRC += common-respack.cpp
|
||||
|
||||
ifdef $(BUILD_DARWIN)
|
||||
bin_PROGRAMS += osx-bundle-restart-helper
|
||||
osx_bundle_restart_helper_SOURCES = osx-bundle-restart-helper.c
|
||||
ifeq (yes, $(BUILD_DARWIN))
|
||||
osx-bundle-restart-helper: 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
|
||||
|
||||
|
||||
EXTRA_DIST = \
|
||||
osx-bundle-restart-helper.c \
|
||||
osx-bundle.sh \
|
||||
|
|
|
@ -118,8 +118,7 @@ cp -v src/${AEGISUB_BIN} "${PKG_DIR}/Contents/MacOS/aegisub"
|
|||
|
||||
echo
|
||||
echo " ---- Build / install restart-helper ----"
|
||||
echo cc -o "${PKG_DIR}/Contents/MacOS/restart-helper tools/osx-bundle-restart-helper.c"
|
||||
${CC} -o "${PKG_DIR}/Contents/MacOS/restart-helper" tools/osx-bundle-restart-helper.c || exit $?
|
||||
cp -v tools/osx-bundle-restart-helper.c "${PKG_DIR}/Contents/MacOS/restart-helper"
|
||||
|
||||
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue