summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMartin v. Loewis <martin@v.loewis.de>2012-04-27 14:10:21 (GMT)
committerMartin v. Loewis <martin@v.loewis.de>2012-04-27 14:10:21 (GMT)
commitcfc1cc2996fd513aa96ff27060c36f3b5ea9dab5 (patch)
treedfd9755f1322cfa4f00396980d235caa26176d3a /Makefile.pre.in
parent8f825060f1c168b913f2ac299ca48d4e9375f34d (diff)
downloadcpython-cfc1cc2996fd513aa96ff27060c36f3b5ea9dab5.zip
cpython-cfc1cc2996fd513aa96ff27060c36f3b5ea9dab5.tar.gz
cpython-cfc1cc2996fd513aa96ff27060c36f3b5ea9dab5.tar.bz2
Issue #14642: Add "hg touch" extension, and "make touch" target.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index e6b37f8..38ffa34 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1337,6 +1337,10 @@ TAGS::
etags Include/*.h; \
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
+# Touch generated files
+touch:
+ hg --config extensions.touch=Tools/hg/hgtouch.py touch -v
+
# Sanitation targets -- clean leaves libraries, executables and tags
# files, which clobber removes as well
pycremoval:
@@ -1445,7 +1449,7 @@ Python/thread.o: @THREADHEADERS@
.PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
.PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
.PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
-.PHONY: smelly funny patchcheck
+.PHONY: smelly funny patchcheck touch
.PHONY: gdbhooks
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY