diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-12 00:11:11 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-12 01:08:12 +1100 |
commit | 960fab4bba9b52aacba46de5895afaf908f002df (patch) | |
tree | 553a85c19e22b922070ce578503996f8f773c24b /source4/scripting/python | |
parent | 4aaa7fe43b207abab886b6ba3e1895a42162480c (diff) | |
download | samba-960fab4bba9b52aacba46de5895afaf908f002df.tar.gz samba-960fab4bba9b52aacba46de5895afaf908f002df.tar.bz2 samba-960fab4bba9b52aacba46de5895afaf908f002df.zip |
s4-build: avoid finding python symlinks
emacs creates symlinks to .py files while you are editing them. This
could cause build failures.
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk index 3d255de00e..390f6c811a 100644 --- a/source4/scripting/python/config.mk +++ b/source4/scripting/python/config.mk @@ -23,7 +23,7 @@ python_glue_OBJ_FILES = $(pyscriptsrcdir)/pyglue.o $(python_glue_OBJ_FILES): CFLAGS+=-I$(ldbsrcdir) -_PY_FILES = $(shell find $(pyscriptsrcdir)/samba ../lib/subunit/python -name "*.py") +_PY_FILES = $(shell find $(pyscriptsrcdir)/samba ../lib/subunit/python -type f -name "*.py") $(eval $(foreach pyfile, $(_PY_FILES),$(call python_py_module_template,$(patsubst $(pyscriptsrcdir)/%,%,$(subst ../lib/subunit/python,,$(pyfile))),$(pyfile)))) |