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

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


vlc/vlc-2.1 | branch: master | Jerome Forissier <jerome at taodyne.com> | Tue Mar  4 16:03:30 2014 +0100| [7010a8d756de7495778d5c9ea570998a4c8ecf60] | 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>
(cherry picked from commit 3c9463627d55d5e3f21f26eada40eaa137d8eca5)

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

 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 53c341c..19ace18 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -49,7 +49,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