summaryrefslogtreecommitdiff
blob: 7336b620045afdf073a0a66f7568be6766ecc3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- a/bindings/python/Makefile.am	2017-07-17 12:03:05.653000000 +0200
+++ b/bindings/python/Makefile.am	2017-09-06 18:51:57.179778549 +0200
@@ -9,35 +9,6 @@
 all-am: python-build
 
 python-build: _prelude.cxx
-if HAVE_PYTHON2
-	CC="$(CXX)" $(PYTHON2) setup.py build
-endif
-if HAVE_PYTHON3
-	CC="$(CXX)" $(PYTHON3) setup.py build
-endif
-install-exec-hook:
-if HAVE_PYTHON2
-	$(PYTHON2) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
-endif
-if HAVE_PYTHON3
-	$(PYTHON3) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
-endif
-
-uninstall-hook:
-if HAVE_PYTHON2
-	$(PYTHON2) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
-endif
-if HAVE_PYTHON3
-	$(PYTHON3) setup.py uninstall `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` --prefix @prefix@
-endif
-
-clean-local:
-if HAVE_PYTHON2
-	$(PYTHON2) setup.py clean -a
-endif
-if HAVE_PYTHON3
-	$(PYTHON3) setup.py clean -a
-endif
 
 _prelude.cxx prelude.py: $(top_srcdir)/bindings/c++/include/*.hxx $(top_srcdir)/bindings/libpreludecpp.i libpreludecpp-python.i 
 if HAVE_SWIG