Add python_install target. Not called by default. Delegates most
[samba.git] / source3 / Makefile.in
index b8c337f14a7ab94140399e88ef05fa39643ebe16..3578b93020ab6c39588b5536f0e2664735c4e0cd 100644 (file)
@@ -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)