[vlc-devel] commit: am: Don't fail to build Mac OS X target if there is no git. ( Pierre d'Herbemont )
git version control
git at videolan.org
Wed Oct 14 23:46:01 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Oct 14 23:23:04 2009 +0200| [0ce8daf7e8e0e3c0324ab4ab5162998235909363] | committer: Pierre d'Herbemont
am: Don't fail to build Mac OS X target if there is no git.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ce8daf7e8e0e3c0324ab4ab5162998235909363
---
Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 4d16422..3d9bb50 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -432,7 +432,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` && \
+ REVISION=`(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/
@@ -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 --always` && \
+ REVISION=`(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/
More information about the vlc-devel
mailing list