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 4/6] python-lvm: liblvm/python/Makefile.in
Date: Fri, 14 Sep 2012 10:54:42 -0700	[thread overview]
Message-ID: <1347645284-13738-5-git-send-email-agrover@redhat.com> (raw)
In-Reply-To: <1347645284-13738-1-git-send-email-agrover@redhat.com>

This Makefile works, but might need some work by someone who knows what
they're doing.

Signed-off-by: Andy Grover <agrover@redhat.com>
---
 liblvm/python/Makefile.in |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 liblvm/python/Makefile.in

diff --git a/liblvm/python/Makefile.in b/liblvm/python/Makefile.in
new file mode 100644
index 0000000..cd93674
--- /dev/null
+++ b/liblvm/python/Makefile.in
@@ -0,0 +1,30 @@
+#
+# Copyright (C) 2011-2012 Red Hat, Inc.
+#
+# This file is part of LVM2.
+#
+# This copyrighted material is made available to anyone wishing to use,
+# modify, copy, or redistribute it subject to the terms and conditions
+# of the GNU Lesser General Public License v.2.1.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program; if not, write to the Free Software Foundation,
+# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
+
+SOURCES = liblvm.c
+
+python_bindings:
+	LVM_VERSION="$(LVM_VERSION)" python setup.py build
+
+install_python_bindings:
+	LVM_VERSION="$(LVM_VERSION)" python setup.py install --skip-build --root $(prefix)
+
+install_lvm2: install_python_bindings
+
+install: install_lvm2
+
+include $(top_builddir)/make.tmpl
-- 
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 ` Andy Grover [this message]
2012-09-14 17:54 ` [linux-lvm] [PATCH 5/6] python-lvm: configure.in changes Andy Grover
2012-09-14 17:54 ` [linux-lvm] [PATCH 6/6] python-lvm: Other Makefile.in changes Andy Grover

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-5-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).