]> git.sesse.net Git - vlc/blob - bindings/mediacontrol-python/Makefile.am
vlcdebug.py: add documentation
[vlc] / bindings / mediacontrol-python / Makefile.am
1 ##############################################################################
2 # Building the Python binding
3 ###############################################################################
4
5
6 if HAVE_WIN32
7         COMPILERARG = --compiler=mingw32
8 else
9         COMPILERARG = 
10 endif
11
12 if BUILD_PYTHON
13
14 all:
15         srcdir="$(srcdir)" top_builddir="$(top_builddir)" python "$(srcdir)/setup.py" build $(COMPILERARG) "--build-base=$(top_builddir)/bindings/mediacontrol-python" "--build-temp=$(top_builddir)/bindings/mediacontrol-python"
16
17 # FIXME: python setup.py install does not have any option to install from a different build directory
18 # so this will not work in a separate builddir
19 install:
20         python $(srcdir)/setup.py install
21
22 clean:
23         $(RM) -rf build
24 endif