Commit d2bf76d0 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files Automatically remove ./tmp in the target.

parent dab8e12d
...@@ -351,13 +351,11 @@ if HAVE_DARWIN ...@@ -351,13 +351,11 @@ if HAVE_DARWIN
noinst_DATA = noinst_DATA =
# is the old target # is the old target vlc vlc
( cd src && make ) ( cd src && make install )
@if test -e "$(top_builddir)/tmp"; then \ @if test -e "$(top_builddir)/tmp"; then \
echo "Error: please remove $(top_builddir)/tmp, it is in the way"; \ rm -Rf $(top_builddir)/tmp \
false; \ fi \
else \ mkdir -p "$(top_builddir)/tmp/extras/package/macosx"; \
echo "OK."; mkdir -p "$(top_builddir)/tmp/extras/package/macosx"; \
rm -Rf $(top_builddir)/ rm -Rf $(top_builddir)/
cp -R $(srcdir)/extras/package/macosx/vlc.xcodeproj $(top_builddir)/tmp/extras/package/macosx/ 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 cp -R $(srcdir)/extras/package/macosx/Resources $(top_builddir)/tmp/extras/package/macosx
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment