summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-03 01:38:53 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-03 01:38:53 (GMT)
commit1a196b5db8fb091b942eeb1223b388367054c7e4 (patch)
tree827c015f0511f1062c39a38ed8b4fb6961025351 /Makefile.pre.in
parenta39f0572e60c0cc95bb9ac0181fe9e2a3687f530 (diff)
downloadcpython-1a196b5db8fb091b942eeb1223b388367054c7e4.zip
cpython-1a196b5db8fb091b942eeb1223b388367054c7e4.tar.gz
cpython-1a196b5db8fb091b942eeb1223b388367054c7e4.tar.bz2
As discussed on python-dev, don't remove Python-ast.[ch] with distclean
even though they are generated. Since these files require Python 2.2+, it's possible they can't be created on a fresh system.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 80fc894..259cd87 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -988,10 +988,10 @@ clobber: clean
# Make things extra clean, before making a distribution:
# remove all generated files, even Makefile[.pre]
+# Keep configure and Python-ast.[ch], it's possible they can't be generated
distclean: clobber
-rm -f core Makefile Makefile.pre buildno config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config
- -rm -f $(AST_H) $(AST_C)
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \
-o -name '*.orig' -o -name '*.rej' \