linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andy Grover <agrover@redhat.com>
To: linux-lvm@redhat.com
Subject: [linux-lvm] [PATCH 6/6] python-lvm: Other Makefile.in changes
Date: Fri, 14 Sep 2012 10:54:44 -0700	[thread overview]
Message-ID: <1347645284-13738-7-git-send-email-agrover@redhat.com> (raw)
In-Reply-To: <1347645284-13738-1-git-send-email-agrover@redhat.com>

Add install_python_bindings target to toplevel makefile

Recurse into liblvm/python if PYTHON_BINDINGS is set

Signed-off-by: Andy Grover <agrover@redhat.com>
---
 Makefile.in        |    3 +++
 liblvm/Makefile.in |    6 +++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 4316190..ed2be56 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -107,6 +107,9 @@ install_systemd_generators:
 install_systemd_units:
 	$(MAKE) -C scripts install_systemd_units
 
+install_python_bindings:
+	$(MAKE) -C liblvm/python install_python_bindings
+
 install_tmpfiles_configuration:
 	$(MAKE) -C scripts install_tmpfiles_configuration
 
diff --git a/liblvm/Makefile.in b/liblvm/Makefile.in
index 8ae4661..8941288 100644
--- a/liblvm/Makefile.in
+++ b/liblvm/Makefile.in
@@ -30,6 +30,10 @@ ifeq ("@STATIC_LINK@", "yes")
   LIB_STATIC = $(LIB_NAME).a
 endif
 
+ifeq ("@PYTHON_BINDINGS@", "yes")
+  SUBDIRS += python
+endif
+
 LIB_SHARED = $(LIB_NAME).$(LIB_SUFFIX)
 
 CLEAN_TARGETS += liblvm.cflow $(LIB_NAME).a
@@ -47,7 +51,7 @@ ifeq ("@DMEVENTD@", "yes")
   LIBS += -ldevmapper-event
 endif
 
-.PHONY: install_dynamic install_static install_include install_pkgconfig
+.PHONY: install_dynamic install_static install_include install_pkgconfig python
 
 INSTALL_TYPE = install_dynamic
 
-- 
1.7.1

      parent reply	other threads:[~2012-09-14 17:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-14 17:54 [linux-lvm] [PATCH 0/6] Integrate python-lvm into lvm2 Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 1/6] python-lvm: initial checkin Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 2/6] python-lvm: A start at a python-lvm test framework Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 3/6] python-lvm: setup.py Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 4/6] python-lvm: liblvm/python/Makefile.in Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 5/6] python-lvm: configure.in changes Andy Grover
2012-09-14 17:54 ` Andy Grover [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1347645284-13738-7-git-send-email-agrover@redhat.com \
    --to=agrover@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).