[vlc-devel] commit: [Build] Try to fix the MacOS builds when git describe fails. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Nov 25 09:49:40 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Nov 25 09:49:07 2008 +0100| [b190a796acd528de06afe921f691c8bbd2de59e7] | committer: Jean-Baptiste Kempf 

[Build] Try to fix the MacOS builds when git describe fails.

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

 Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index cdc34db..4a17c64 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -418,7 +418,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` && \
+	REVISION=`git describe --always` && \
 	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/
@@ -585,7 +585,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` && \
+	REVISION=`git describe --always` && \
 	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/




More information about the vlc-devel mailing list