diff options
author | Alasdair G Kergon <agk@redhat.com> | 2012-10-12 02:08:47 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-10-12 02:08:47 +0100 |
commit | ee3cfa41843b0af1ef220ecf8bf6db82676af8c8 (patch) | |
tree | 0302b1a7f2af5f5ffe4b427652443ffa85fea082 /Makefile.in | |
parent | 4022fd3e79099fb22b2b7d3d6dca8de733a2a783 (diff) | |
download | lvm2-ee3cfa41843b0af1ef220ecf8bf6db82676af8c8.tar.gz |
python: Add bindings for liblvm2app.
Use configure --enable-python_bindings to generate them.
Note that the Makefiles do not yet control the owner or permissions of
the two new files on installation.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index 6b153d33b..bbfcf2cf5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -32,13 +32,17 @@ ifeq ("@APPLIB@", "yes") SUBDIRS += liblvm endif +ifeq ("@PYTHON_BINDINGS@", "yes") + SUBDIRS += python +endif + SUBDIRS += scripts # FIXME Should use intermediate Makefiles here! ifeq ($(MAKECMDGOALS),distclean) SUBDIRS = doc include man test scripts \ libdaemon lib tools daemons libdm \ - udev po liblvm \ + udev po liblvm python \ unit-tests/datastruct unit-tests/mm unit-tests/regex endif DISTCLEAN_DIRS += lcov_reports* @@ -69,6 +73,10 @@ po.pofile: tools.pofile daemons.pofile pofile: po.pofile endif +ifeq ("@PYTHON_BINDINGS@", "yes") +python: liblvm +endif + ifneq ("$(CFLOW_CMD)", "") tools.cflow: libdm.cflow lib.cflow daemons.cflow: tools.cflow @@ -103,6 +111,11 @@ install_systemd_generators: install_systemd_units: $(MAKE) -C scripts install_systemd_units +ifeq ("@PYTHON_BINDINGS@", "yes") +install_python_bindings: + $(MAKE) -C liblvm/python install_python_bindings +endif + install_tmpfiles_configuration: $(MAKE) -C scripts install_tmpfiles_configuration @@ -148,7 +161,7 @@ ifeq ("$(TESTING)", "yes") # testing and report generation RUBY=ruby1.9 -Ireport-generators/lib -Ireport-generators/test -.PHONEY: unit-test ruby-test test-programs +.PHONY: unit-test ruby-test test-programs # FIXME: put dependencies on libdm and liblvm # FIXME: Should be handled by Makefiles in subdirs, not here at top level. |