1 # ***************************************************************************
2 # Makefile : Build vlc-contrib files
3 # ***************************************************************************
4 # Copyright (C) 2003 VideoLAN
5 # $Id: Makefile,v 1.4 2003/11/23 13:23:20 massiot Exp $
7 # Authors: Christophe Massiot <massiot@via.ecp.fr>
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
22 # ***************************************************************************
26 BUILDDIRS = bin doc etc include info lib man sbin share vlc-lib tmp
29 @echo "Do you mean to make src or make bin ?"
34 contrib-macosx.tar.bz2: FORCE
35 $(WGET) $(CONTRIB_URL)
37 bin: contrib-macosx.tar.bz2
38 @if test -d tmp; then \
39 echo "Move away ./tmp, it's in the way" ; \
43 bunzip2 -c $< | (cd tmp; tar xf -)
44 ./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX)
45 (cd tmp; tar cf - .) | tar xf -
49 $(MAKE) -C src clean-src
53 $(MAKE) -C src clean-dots
56 @echo "Do you mean to clean-src or clean-bin ?"
59 @if test -d tmp; then \
60 echo "Move away ./tmp, it's in the way" ; \
64 tar cf - bin include lib vlc-lib share/aclocal* share/autoconf* \
65 share/automake* share/gettext* \
67 ./change_prefix.sh tmp $(PREFIX) @@CONTRIB_PREFIX@@
68 (cd tmp; tar cf - .) | bzip2 -c > contrib-macosx.tar.bz2