summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-28 09:48:49 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:11 +1000
commitf9eae32f4b4284e3820f61f3d40c46a41be97227 (patch)
tree780876707937fd22d96b92c6930863dc59645351 /source4/scripting
parentc64ce3cd03695b5c0659c4c2818de2cd3953f910 (diff)
downloadsamba-f9eae32f4b4284e3820f61f3d40c46a41be97227.tar.gz
samba-f9eae32f4b4284e3820f61f3d40c46a41be97227.tar.bz2
samba-f9eae32f4b4284e3820f61f3d40c46a41be97227.zip
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba_external/wscript_build2
-rw-r--r--source4/scripting/python/wscript2
-rw-r--r--source4/scripting/python/wscript_build2
-rw-r--r--source4/scripting/wscript_build2
4 files changed, 8 insertions, 0 deletions
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)