From f9eae32f4b4284e3820f61f3d40c46a41be97227 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 28 Mar 2010 09:48:49 +1100 Subject: s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them --- source4/scripting/python/samba_external/wscript_build | 2 ++ source4/scripting/python/wscript | 2 ++ source4/scripting/python/wscript_build | 2 ++ source4/scripting/wscript_build | 2 ++ 4 files changed, 8 insertions(+) (limited to 'source4/scripting') diff --git a/source4/scripting/python/samba_external/wscript_build b/source4/scripting/python/samba_external/wscript_build index fcb2135e27..45e00d062a 100644 --- a/source4/scripting/python/samba_external/wscript_build +++ b/source4/scripting/python/samba_external/wscript_build @@ -1,3 +1,5 @@ +#!/usr/bin/env python + # work out what external modules need to be installed external_list = [] try: diff --git a/source4/scripting/python/wscript b/source4/scripting/python/wscript index 3dd35b6a29..14e924b378 100644 --- a/source4/scripting/python/wscript +++ b/source4/scripting/python/wscript @@ -1,3 +1,5 @@ +#!/usr/bin/env python + def set_options(opt): # enable options related to building python extensions opt.tool_options('python') # options for disabling pyc or pyo compilation diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build index 6d2fe9204c..0d0fabd54e 100644 --- a/source4/scripting/python/wscript_build +++ b/source4/scripting/python/wscript_build @@ -1,3 +1,5 @@ +#!/usr/bin/env python + bld.SAMBA_PYTHON('LIBPYTHON', source='modules.c', public_deps='EXT_LIB_PYTHON', diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build index 94928deb0e..d48f24c681 100644 --- a/source4/scripting/wscript_build +++ b/source4/scripting/wscript_build @@ -1,3 +1,5 @@ +#!/usr/bin/env python + bld.INSTALL_FILES('${SBINDIR}','bin/upgradeprovision bin/samba_dnsupdate', chmod=0755, python_fixup=True, flat=True) -- cgit