[linux-lvm] [PATCH 4/6] python-lvm: liblvm/python/Makefile.in

Andy Grover agrover at redhat.com
Fri Sep 14 17:54:42 UTC 2012


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

Signed-off-by: Andy Grover <agrover at 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




More information about the linux-lvm mailing list