Makefile.am: Also remove ./tmp from the VLC.app target.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 12:25:00 +0000 (12:25 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 12:25:00 +0000 (12:25 +0000)
Makefile.am

index cd531c4..22263ff 100644 (file)
@@ -522,11 +522,9 @@ VLC-release.app: vlc
 VLC.app: vlc 
        ( cd src && make install )
        @if test -e "$(top_builddir)/tmp"; then \
-         echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \
-         false; \
-       else \
-         echo "OK."; mkdir -p "$(top_builddir)/tmp/extras/package/macosx"; \
-       fi
+      rm -Rf "$(top_builddir)/tmp" \   
+       fi \
+       mkdir -p "$(top_builddir)/tmp/extras/package/macosx"; \
        rm -Rf $(top_builddir)/VLC.app
        cp -R $(srcdir)/extras/package/macosx/vlc.xcodeproj $(top_builddir)/tmp/extras/package/macosx/
        cp -R $(srcdir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx