]> git.ipfire.org Git - thirdparty/systemd.git/commit - Makefile.am
build-sys: add clean-python target
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Aug 2013 16:54:54 +0000 (12:54 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 15 Aug 2013 16:59:36 +0000 (12:59 -0400)
commitf5853dafa1b3486f3ac77fccee3cbf377baa8d95
tree58a2171a045fff18a861c350a5e7cda0c4052d78
parent31f49d022aee9bbb356e52e5483f182d7ffa8d2f
build-sys: add clean-python target

Building for a different version of Python requires removing all
build products for the old version. There's no nice way to do it,
short of doing 'make clean'. The new 'clean-python' target is a
bit hacky, but seems to work:
  ./configure PYTHON=python2 && make && make install
  make clean-python
  ./configure PYTHON=python3 --disable-gtk-doc --disable-man-pages && make && make install
should install modules for both versions of Python.
Makefile.am