]> granicus.if.org Git - python/commitdiff
Issue #21383: Allow "make touch" to work when building outside of the
authorNed Deily <nad@acm.org>
Mon, 12 May 2014 04:45:13 +0000 (21:45 -0700)
committerNed Deily <nad@acm.org>
Mon, 12 May 2014 04:45:13 +0000 (21:45 -0700)
source directory.

Makefile.pre.in

index 5af61e3d9c963089abf67be1a4b35b1acd1732ba..f36c11d6528ddf72b4a5aded27cb7ce25aaa2330 100644 (file)
@@ -1487,6 +1487,7 @@ TAGS::
 
 # Touch generated files
 touch:
+       cd $(srcdir); \
        hg --config extensions.touch=Tools/hg/hgtouch.py touch -v
 
 # Sanitation targets -- clean leaves libraries, executables and tags