summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-02-19 04:35:11 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-02-19 04:35:11 (GMT)
commitc5cfcb4a483456de67394e9e9ec94b9252587750 (patch)
tree6f7b51167650534215053c7677e0c2012f20ecfe /Makefile.pre.in
parentccc7473fc8593a19b9d8d26118c22eb759350a53 (diff)
downloadcpython-c5cfcb4a483456de67394e9e9ec94b9252587750.zip
cpython-c5cfcb4a483456de67394e9e9ec94b9252587750.tar.gz
cpython-c5cfcb4a483456de67394e9e9ec94b9252587750.tar.bz2
Fix bug in clean target (closes SF patch 103864 and bug 132879). The clobber
target now removes some configure files (like it did before).
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in14
1 files changed, 4 insertions, 10 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index c08c475..08ba3e1 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -743,25 +743,19 @@ TAGS::
# files, which clobber removes those as well
clean:
- # avoid long command lines, same as LIBRARY_OBJS MAINOBJ PGOBJS
- -rm -f $(PARSER_OBJS)
- -rm -f $(OBJECT_OBJS)
- -rm -f $(PYTHON_OBJS)
- -rm -f $(MODULE_OBJS) $(SIGNAL_OBJS) Modules/getbuildinfo.o
- -rm -f $(MODOBJS) $(MAINOBJ) $(PGOBJS)
- if test -f build; then find build -name '*.o' -exec rm -f {} ';' ; fi
+ find . -name '*.o' -exec rm -f {} ';'
find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
clobber: clean
- -rm -f tags TAGS $(PYTHON) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
- Modules/*.so Modules/*.sl Parser/pgen
+ -rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
+ Modules/*.so Modules/*.sl tags TAGS \
+ config.cache config.log config.h Modules/config.c
-rm -rf build
# Make things extra clean, before making a distribution:
# remove all generated files, even Makefile[.pre]
distclean: clobber
-rm -f core Makefile Makefile.pre buildno config.status \
- config.log config.cache config.h Modules/config.c \
Modules/Setup Modules/Setup.local Modules/Setup.config
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \