1.1.15
by Bastian Blank
Import upstream version 2.02.98 |
1 |
#
|
1.1.16
by Bastian Blank
Import upstream version 2.02.104 |
2 |
# Copyright (C) 2011-2013 Red Hat, Inc.
|
1.1.15
by Bastian Blank
Import upstream version 2.02.98 |
3 |
#
|
4 |
# This file is part of LVM2.
|
|
5 |
#
|
|
6 |
# This copyrighted material is made available to anyone wishing to use,
|
|
7 |
# modify, copy, or redistribute it subject to the terms and conditions
|
|
8 |
# of the GNU Lesser General Public License v.2.1.
|
|
9 |
#
|
|
10 |
# You should have received a copy of the GNU Lesser General Public License
|
|
11 |
# along with this program; if not, write to the Free Software Foundation,
|
|
12 |
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
13 |
||
14 |
srcdir = @srcdir@ |
|
15 |
top_srcdir = @top_srcdir@ |
|
16 |
top_builddir = @top_builddir@ |
|
17 |
||
1.1.20
by Bastian Blank
Import upstream version 2.02.122 |
18 |
TARGETS = .liblvm_built |
19 |
||
20 |
include $(top_builddir)/make.tmpl
|
|
1.1.15
by Bastian Blank
Import upstream version 2.02.98 |
21 |
|
22 |
.liblvm_built: liblvm_python.c |
|
23 |
$(PYTHON) setup.py build |
|
24 |
touch $@
|
|
25 |
||
26 |
liblvm_python.c: |
|
27 |
$(LN_S) $(srcdir)/liblvm.c $@ |
|
28 |
||
1.1.20
by Bastian Blank
Import upstream version 2.02.122 |
29 |
install_python_bindings: $(TARGETS) |
1.1.16
by Bastian Blank
Import upstream version 2.02.104 |
30 |
$(PYTHON) setup.py install --skip-build --prefix $(pyexecdir) |
1.1.15
by Bastian Blank
Import upstream version 2.02.98 |
31 |
|
32 |
install_lvm2: install_python_bindings |
|
33 |
||
34 |
install: install_lvm2 |
|
35 |
||
1.1.20
by Bastian Blank
Import upstream version 2.02.122 |
36 |
.PHONY: install_python_bindings |
37 |
.INTERMEDIATE: liblvm_python.c |
|
38 |
||
1.1.16
by Bastian Blank
Import upstream version 2.02.104 |
39 |
clean: |
40 |
$(RM) -r build |
|
41 |
||
1.1.20
by Bastian Blank
Import upstream version 2.02.122 |
42 |
distclean: clean |
43 |
||
44 |
CLEAN_TARGETS += liblvm_python.c |
|
1.1.15
by Bastian Blank
Import upstream version 2.02.98 |
45 |
|
46 |
DISTCLEAN_TARGETS += setup.py |