mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
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.
This commit is contained in:
parent
a39f0572e6
commit
1a196b5db8
1 changed files with 1 additions and 1 deletions
|
@ -988,10 +988,10 @@ clobber: clean
|
||||||
|
|
||||||
# Make things extra clean, before making a distribution:
|
# Make things extra clean, before making a distribution:
|
||||||
# remove all generated files, even Makefile[.pre]
|
# remove all generated files, even Makefile[.pre]
|
||||||
|
# Keep configure and Python-ast.[ch], it's possible they can't be generated
|
||||||
distclean: clobber
|
distclean: clobber
|
||||||
-rm -f core Makefile Makefile.pre buildno config.status \
|
-rm -f core Makefile Makefile.pre buildno config.status \
|
||||||
Modules/Setup Modules/Setup.local Modules/Setup.config
|
Modules/Setup Modules/Setup.local Modules/Setup.config
|
||||||
-rm -f $(AST_H) $(AST_C)
|
|
||||||
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
|
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
|
||||||
-o -name '[@,#]*' -o -name '*.old' \
|
-o -name '[@,#]*' -o -name '*.old' \
|
||||||
-o -name '*.orig' -o -name '*.rej' \
|
-o -name '*.orig' -o -name '*.rej' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue