diff options
Diffstat (limited to 'source4/build/make')
-rw-r--r-- | source4/build/make/python.mk | 4 | ||||
-rw-r--r-- | source4/build/make/rules.mk | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/source4/build/make/python.mk b/source4/build/make/python.mk index 57bf0169fe..6c1798212e 100644 --- a/source4/build/make/python.mk +++ b/source4/build/make/python.mk @@ -56,3 +56,7 @@ clean:: pydoctor:: pythonmods LD_LIBRARY_PATH=bin/shared PYTHONPATH=$(pythonbuilddir) pydoctor --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package $(pythonbuilddir)/samba + +bin/python/%.py: + mkdir -p $(@D) + cp $< $@ diff --git a/source4/build/make/rules.mk b/source4/build/make/rules.mk index faefb4e323..078f5d9295 100644 --- a/source4/build/make/rules.mk +++ b/source4/build/make/rules.mk @@ -211,8 +211,9 @@ include/includes.d: include/includes.h @echo "Compiling $<" @-mkdir -p `dirname $@` @$(COMPILE) && exit 0 ; \ - $(COMPILE) - + echo "The following command failed:" 1>&2;\ + echo "$(COMPILE)" 1>&2;\ + $(COMPILE) >/dev/null 2>&1 .c.ho: |