summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-09-09 08:51:55 +0000
committerMartin Pool <mbp@samba.org>2002-09-09 08:51:55 +0000
commit2517c20b9efc66b4e6fa81b4d4ea086341c58dfe (patch)
tree87950f0356121b3e799a735586abf4ddd006be5c /source3
parent0ad8d0c768b2c961a1b93662d7050216edc2d3c0 (diff)
downloadsamba-2517c20b9efc66b4e6fa81b4d4ea086341c58dfe.tar.gz
samba-2517c20b9efc66b4e6fa81b4d4ea086341c58dfe.tar.bz2
samba-2517c20b9efc66b4e6fa81b4d4ea086341c58dfe.zip
Add python_install target. Not called by default. Delegates most
of the work to setup.py (This used to be commit 29d7ee7e0d6eea53a596973d157d377fbaaab3d1)
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b8c337f14a..3578b93020 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -886,6 +886,11 @@ python_ext: $(PYTHON_OBJS)
LIBS="$(LIBS)" \
$(PYTHON) python/setup.py build
+python_install: $(PYTHON_OBJS)
+ PYTHON_OBJS="$(PYTHON_OBJS)" PYTHON_CFLAGS="$(CFLAGS) $(CPPFLAGS)" \
+ LIBS="$(LIBS)" \
+ $(PYTHON) python/setup.py install
+
# revert to the previously installed version
revert:
@$(SHELL) $(srcdir)/script/revert.sh $(SBINDIR) $(SPROGS)