[Python-checkins] commit of r41886 - python/trunk/Makefile.pre.in
neal.norwitz
python-checkins at python.org
Tue Jan 3 02:38:54 CET 2006
Author: neal.norwitz
Date: Tue Jan 3 02:38:53 2006
New Revision: 41886
Modified:
python/trunk/Makefile.pre.in
Log:
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.
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Tue Jan 3 02:38:53 2006
@@ -988,10 +988,10 @@
# 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' \
More information about the Python-checkins
mailing list