[vlc-commits] Contribs: install macOS frameworks in a Frameworks/ subdirectory

Jean-Baptiste Kempf git at videolan.org
Sat Feb 18 01:02:30 CET 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 18 01:02:07 2017 +0100| [a2a3310519d5b8d1162c9455f210b4585346a92e] | committer: Jean-Baptiste Kempf

Contribs: install macOS frameworks in a Frameworks/ subdirectory

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a2a3310519d5b8d1162c9455f210b4585346a92e
---

 contrib/src/breakpad/rules.mak | 2 +-
 contrib/src/growl/rules.mak    | 2 +-
 contrib/src/sparkle/rules.mak  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/src/breakpad/rules.mak b/contrib/src/breakpad/rules.mak
index 84f3c11..1fae4d8 100644
--- a/contrib/src/breakpad/rules.mak
+++ b/contrib/src/breakpad/rules.mak
@@ -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 $@
diff --git a/contrib/src/growl/rules.mak b/contrib/src/growl/rules.mak
index 01772f9..554a986 100644
--- a/contrib/src/growl/rules.mak
+++ b/contrib/src/growl/rules.mak
@@ -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 $@
diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index c6b367b..5af6bea 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -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 $@



More information about the vlc-commits mailing list