Commit 655ff0e6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: install macOS frameworks in a Frameworks/ subdirectory

parent af316abf
......@@ -22,6 +22,6 @@ breakpad: breakpad-$(BREAKPAD_HASH).tar.gz
cd $</src/client/mac/ && xcodebuild $(XCODE_FLAGS) CLANG_CXX_LIBRARY=libc++ WARNING_CFLAGS=-Wno-error
cd $</src/tools/mac/dump_syms && xcodebuild $(XCODE_FLAGS) CLANG_CXX_LIBRARY=libc++ WARNING_CFLAGS=-Wno-error
install -d $(PREFIX)
cd $</src/client/mac/ && cp -R build/Release/Breakpad.framework "$(PREFIX)"
cd $</src/client/mac/ && mkdir -p "$(PREFIX)/Frameworks" && cp -R build/Release/Breakpad.framework "$(PREFIX)/Frameworks"
cd $</src/tools/mac/dump_syms && cp -R build/Release/dump_syms "$(PREFIX)/bin"
touch $@
......@@ -23,5 +23,5 @@ growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
.growl: growl
cd $< && xcodebuild $(XCODE_FLAGS) -target Growl.framework -configuration Release
install -d $(PREFIX)
cd $< && cp -Rf build/Release/Growl.framework "$(PREFIX)"
cd $< && mkdir -p "$(PREFIX)/Frameworks" && cp -Rf build/Release/Growl.framework "$(PREFIX)/Frameworks"
touch $@
......@@ -20,5 +20,5 @@ sparkle: Sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
cd $< && xcodebuild $(XCODE_FLAGS) WARNING_CFLAGS=-Wno-error
cd $< && install_name_tool -id @executable_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle build/Release/Sparkle.framework/Sparkle
install -d $(PREFIX)
cd $< && cp -R build/Release/Sparkle.framework "$(PREFIX)"
cd $< && mkdir -p "$(PREFIX)/Frameworks" && cp -R build/Release/Sparkle.framework "$(PREFIX)/Frameworks"
touch $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment