chiark / gitweb /
build-sys: check that python is enabled for "make dist"
authorFilipe Brandenburger <filbranden@google.com>
Tue, 17 Jun 2014 03:54:53 +0000 (20:54 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 20 Jun 2014 22:44:40 +0000 (18:44 -0400)
commit279419b37976ea24be5e57ebddba3ea0335e16b4
tree7e556bdd03d565a914cceda7f08fad421e24c821
parentb9d5b4c30d8f301451c6abe111d636a9b9522527
build-sys: check that python is enabled for "make dist"

Running "make dist" requires Python support since some of the man page sources
(such as man/systemd.index.xml and man/systemd.directives.xml) are generated by
Python scripts, so break "make dist" and give an useful error message when
Python or the Python lxml module is not available.

Tested:
  $ ./configure --without-python && make && make dist
  *** python and python-lxml module must be installed and enabled in order to make dist
  make: *** [dist-check-python] Error 1
Makefile.am