[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.
Rafaël Carré
funman at videolan.org
Thu Nov 7 19:46:30 CET 2013
Hi,
Le 07/11/2013 11:47, Maxim Bublis a écrit :
> ---
> 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)
Why not:
install -d $(PREFIX)
?
> cd $< && cp -R build/Release/Sparkle.framework "$(PREFIX)"
> touch $@
>
More information about the vlc-devel
mailing list