[vlc-devel] [PATCH 3/4] Fixed contrib target creation for Sparkle.framework. Sparkle.framework builded as first target in contrib using 'make .sparkle` isn't correctly copied in target directory if it has not been created before.

Maxim Bublis b at codemonkey.ru
Thu Nov 7 11:47:52 CET 2013


---
 contrib/src/sparkle/rules.mak | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index a5d4d1d..73caf31 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -1,5 +1,7 @@
 # sparkle
 
+INSTALL = install
+
 #SPARKLE_VERSION := 1.5b6
 #SPARKLE_URL := http://sparkle.andymatuschak.org/files/Sparkle%20$(SPARKLE_VERSION).zip
 SPARKLE_GITURL := git://github.com/andymatuschak/Sparkle.git
@@ -23,5 +25,6 @@ sparkle: sparkle-git.tar.xz .sum-sparkle
 .sparkle: sparkle
 	cd $< && xcodebuild $(XCODE_FLAGS)
 	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)"
 	touch $@
-- 
Maxim Bublis




More information about the vlc-devel mailing list