[Python-checkins] cpython (2.7): Issue #21383: Allow "make touch" to work when building outside of the

ned.deily python-checkins at python.org
Fri May 23 00:30:37 CEST 2014


http://hg.python.org/cpython/rev/1fd37eefa141
changeset:   90781:1fd37eefa141
branch:      2.7
user:        Ned Deily <nad at acm.org>
date:        Thu May 22 15:26:34 2014 -0700
summary:
  Issue #21383: Allow "make touch" to work when building outside of the
source directory.

files:
  Makefile.pre.in |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1267,6 +1267,7 @@
 
 # Touch generated files
 touch:
+	cd $(srcdir); \
 	touch Include/Python-ast.h Python/Python-ast.c
 
 # Sanitation targets -- clean leaves libraries, executables and tags

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list