]> git.sesse.net Git - vlc/blobdiff - Makefile
Fixed a typo in aspect ratio calculation
[vlc] / Makefile
index 307efd1e4091a63d16fcc9758436512475819a07..bd0f6d894972008bc3c4fe40184b24dfc61fab43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ PLUGINS_DIR :=        ac3_adec \
                idct \
                imdct \
                kde \
-               liba52_adec \
+               a52 \
                lirc \
                lpcm_adec \
                macosx \
@@ -95,7 +95,7 @@ PLUGINS_TARGETS := ac3_adec/ac3_adec \
                imdct/imdct3dn \
                imdct/imdctsse \
                kde/kde \
-               liba52_adec/liba52_adec \
+               a52/a52 \
                lirc/lirc \
                lpcm_adec/lpcm_adec \
                macosx/macosx \
@@ -458,6 +458,25 @@ package-beos:
        # Clean up
        rm -Rf tmp
 
+package-macosx:
+       # Check that tmp isn't in the way
+       @if test -e tmp; then \
+               echo "Error: please remove ./tmp, it is in the way"; false; \
+       else \
+               echo "OK."; mkdir tmp; \
+       fi
+
+       # Copy relevant files 
+       cp -R vlc.app tmp/
+       cp AUTHORS COPYING ChangeLog ChangeLog.libdvdcss \
+               README README.libdvdcss FAQ TODO tmp/
+
+       # Create disk image 
+       ./macosx-dmg 0 "vlc-${VLC_QUICKVERSION}" tmp/* 
+
+       # Clean up
+       rm -Rf tmp
+
 libdvdcss-snapshot: snapshot-common
        # Remove vlc sources and icons, doc, debian directory...
        rm -Rf tmp/vlc/src tmp/vlc/share tmp/vlc/plugins tmp/vlc/doc