Ticket #25431: patch-Makefile.am.diff

File patch-Makefile.am.diff, 1.5 KB (added by raimue (Rainer Müller), 14 years ago)
  • Makefile.am

    old new  
    426426vlc$(EXEEXT):
    427427        $(AM_V_GEN)ln -sf bin/vlc-static$(EXEEXT) vlc$(EXEEXT)
    428428
    429 if HAVE_DARWIN
    430 if BUILD_MACOSX_VLC_APP
    431 # Create the MacOS X app
    432 noinst_DATA = VLC.app
    433 endif
    434 endif
    435 
    436429silentstd = $(silentstd_$(V))
    437430silentstd_ = $(silentstd_$(AM_DEFAULT_VERBOSITY))
    438431silentstd_0 = 2>&1 >/dev/null
     
    447440        for i in vlc.xcodeproj Resources README.MacOSX.rtf ; do \
    448441          cp -R $(srcdir)/extras/package/macosx/$$i $(top_builddir)/tmp/extras/package/macosx/; \
    449442        done
    450         REVISION=`(git --git-dir=$(srcdir)/.git describe --always || echo exported)` && \
     443        REVISION=$(VERSION_REVISION) && \
    451444        cat $(top_builddir)/extras/package/macosx/Info.plist | \
    452445        sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
    453446        cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/
     
    600593        for i in vlc.xcodeproj Resources README.MacOSX.rtf; do \
    601594          cp -R $(srcdir)/extras/package/macosx/$$i $(top_builddir)/tmp/extras/package/macosx/; \
    602595        done
    603         REVISION=`(git --git-dir=$(srcdir)/.git describe --always || echo exported)` && \
     596        REVISION=$(VERSION_REVISION) && \
    604597        cat $(top_builddir)/extras/package/macosx/Info.plist | \
    605598        sed "s/#REVISION#/$$REVISION/g" > $(top_builddir)/tmp/extras/package/macosx/Info.plist
    606599        cp -R $(top_builddir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx/