Forward port of 17368. Make it easier to build a macosx package when build in debug mode.

This commit is contained in:
Jean-Paul Saman 2006-10-30 09:13:32 +00:00
parent f788b61890
commit e86b20c4e3

View File

@ -885,7 +885,11 @@ package-macosx:
mkdir -p "$(top_builddir)/vlc-${VERSION}/";
# Copy relevant files
cp -R "$(top_builddir)/VLC-release.app" "$(top_builddir)/vlc-${VERSION}/VLC.app"
@if test -e "$(top_builddir)/VLC-release.app/"; then \
cp -R "$(top_builddir)/VLC-release.app" "$(top_builddir)/vlc-${VERSION}/VLC.app"; \
else \
cp -R "$(top_builddir)/VLC.app" "$(top_builddir)/vlc-${VERSION}/VLC.app"; \
fi
cd "$(srcdir)" && cp AUTHORS COPYING ChangeLog README README.MacOSX.rtf THANKS NEWS $(top_builddir)/vlc-${VERSION}/ && cp -R extras/MacOSX/Delete_Preferences.app $(top_builddir)/vlc-${VERSION}/
# Create disk image