]> git.sesse.net Git - vlc/commitdiff
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 cd531c4f459c4a68e6ec3050d3938a6317e84317..22263ff1117d74b4f448798e0ec849f843c6c8e8 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