[vlc-commits] macosx: package libvlc_version.h, not libvlc_version.h.in.

Jerome Forissier git at videolan.org
Tue Mar 4 16:56:25 CET 2014


vlc | branch: master | Jerome Forissier <jerome at taodyne.com> | Tue Mar  4 16:03:30 2014 +0100| [3c9463627d55d5e3f21f26eada40eaa137d8eca5] | committer: Felix Paul Kühne

macosx: package libvlc_version.h, not libvlc_version.h.in.

Copy LibVLC headers from the installation directory: $(prefix)/include
rather than from the source directory, where the version file is still
unprocessed.

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

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

 extras/package/macosx/package.mak |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index 3a44df2..00f9eb2 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -50,7 +50,7 @@ VLC-tmp: vlc
 	mkdir -p $@/Contents/MacOS/share/locale/
 	cp -r "$(prefix)/lib/vlc/lua" "$(prefix)/share/vlc/lua" $@/Contents/MacOS/share/
 	mkdir -p $@/Contents/MacOS/include/
-	cp -r "$(srcdir)/include/vlc" $@/Contents/MacOS/include/
+	(cd "$(prefix)/include" && $(AMTAR) -c --exclude "plugins" vlc) | $(AMTAR) -x -C $@/Contents/MacOS/include/
 	$(INSTALL) -m 644 $(srcdir)/share/vlc512x512.png $@/Contents/MacOS/share/vlc512x512.png
 	cat $(top_srcdir)/po/LINGUAS | while read i; do \
 	  $(INSTALL) -d $@/Contents/MacOS/share/locale/$${i}/LC_MESSAGES ; \



More information about the vlc-commits mailing list