]> granicus.if.org Git - python/commitdiff
Issue #21383: Allow "make touch" to work when building outside of the
authorNed Deily <nad@acm.org>
Thu, 22 May 2014 22:26:34 +0000 (15:26 -0700)
committerNed Deily <nad@acm.org>
Thu, 22 May 2014 22:26:34 +0000 (15:26 -0700)
source directory.

Makefile.pre.in

index a70119afb960c67867ad6ad749c56b9ba584e04a..bcd83bf1fe4e3f152f6aca6e815f79087ab9f56b 100644 (file)
@@ -1267,6 +1267,7 @@ TAGS::
 
 # Touch generated files
 touch:
+       cd $(srcdir); \
        touch Include/Python-ast.h Python/Python-ast.c
 
 # Sanitation targets -- clean leaves libraries, executables and tags