[vlc-devel] [PATCH] macosx: package libvlc_version.h, not libvlc_version.h.in.
Jerome Forissier
jerome at taodyne.com
Tue Mar 4 16:03:30 CET 2014
Copy LibVLC headers from the installation directory: $(prefix)/include
rather than from the source directory, where the version file is still
unprocessed.
---
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 ; \
--
1.8.1.5
More information about the vlc-devel
mailing list