mirror of
https://github.com/videolan/vlc.git
synced 2024-11-24 10:23:27 +08:00
OSX: use correctly git even when building out of srcdir
Note : Info.plist.in doesn't seem to contain "REVISION" string Is that git command now useless?
This commit is contained in:
parent
b33eb8317d
commit
e22a0fc342
@ -431,7 +431,7 @@ VLC-release.app: vlc
|
||||
for i in vlc.xcodeproj Resources README.MacOSX.rtf ; do \
|
||||
cp -R $(srcdir)/extras/package/macosx/$$i $(top_builddir)/tmp/extras/package/macosx/; \
|
||||
done
|
||||
REVISION=`(git describe --always || echo exported)` && \
|
||||
REVISION=`(git --git-dir=$(srcdir)/.git describe --always || echo exported)` && \
|
||||
cat $(top_builddir)/extras/package/macosx/Info.plist | \
|
||||
sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
|
||||
cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/
|
||||
@ -584,7 +584,7 @@ VLC.app: vlc $(top_builddir)/src/.libs/libvlccore.dylib $(top_builddir)/src/.lib
|
||||
for i in vlc.xcodeproj Resources README.MacOSX.rtf; do \
|
||||
cp -R $(srcdir)/extras/package/macosx/$$i $(top_builddir)/tmp/extras/package/macosx/; \
|
||||
done
|
||||
REVISION=`(git describe --always || echo exported)` && \
|
||||
REVISION=`(git --git-dir=$(srcdir)/.git describe --always || echo exported)` && \
|
||||
cat $(top_builddir)/extras/package/macosx/Info.plist | \
|
||||
sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
|
||||
cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/
|
||||
|
Loading…
Reference in New Issue
Block a user