Fix "make install" by removing all references to python. Not currently
authorJeremy Allison <jra@samba.org>
Tue, 20 Oct 2009 20:42:28 +0000 (13:42 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 20 Oct 2009 20:42:28 +0000 (13:42 -0700)
needed in source3, and isn't working anyway.
Jeremy.

source3/samba4.mk

index 7e8687d3d9e9b2487d26be341a731c46628c5ded..1ad46f22648da3c13409df539f42c5101f955f96 100644 (file)
@@ -124,7 +124,7 @@ tallocsrcdir := $(samba4srcdir)/../lib/talloc
 comsrcdir := $(samba4srcdir)/lib/com
 override ASN1C = bin/asn1_compile4
 override ET_COMPILER = bin/compile_et4
 comsrcdir := $(samba4srcdir)/lib/com
 override ASN1C = bin/asn1_compile4
 override ET_COMPILER = bin/compile_et4
-include $(samba4srcdir)/build/make/python.mk
+#include $(samba4srcdir)/build/make/python.mk
 include samba4-data.mk
 include $(samba4srcdir)/static_deps.mk
 
 include samba4-data.mk
 include $(samba4srcdir)/static_deps.mk
 
@@ -165,10 +165,17 @@ clean::
 proto:: $(PROTO_HEADERS)
 modules:: $(PLUGINS)
 
 proto:: $(PROTO_HEADERS)
 modules:: $(PLUGINS)
 
-pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
+#pythonmods:: $(PYTHON_PYS) $(PYTHON_SO)
 
 all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 setup plugins
 torture:: bin/smbtorture4
 
 all:: bin/samba4 bin/regpatch4 bin/regdiff4 bin/regshell4 bin/regtree4 bin/smbclient4 setup plugins
 torture:: bin/smbtorture4
+
+#
+## This is a fake rule to stop any python being invoked as currently the
+## build system is broken in source3 with python. JRA.
+#
+installpython:: bin/smbtorture4
+
 everything:: $(patsubst %,%4,$(BINARIES))
 setup:
        @ln -sf ../source4/setup setup
 everything:: $(patsubst %,%4,$(BINARIES))
 setup:
        @ln -sf ../source4/setup setup