Add python_install target. Not called by default. Delegates most
authorMartin Pool <mbp@samba.org>
Mon, 9 Sep 2002 08:51:55 +0000 (08:51 +0000)
committerMartin Pool <mbp@samba.org>
Mon, 9 Sep 2002 08:51:55 +0000 (08:51 +0000)
of the work to setup.py
(This used to be commit 29d7ee7e0d6eea53a596973d157d377fbaaab3d1)

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)