Kaydet (Commit) c5cfcb4a authored tarafından Neil Schemenauer's avatar Neil Schemenauer

Fix bug in clean target (closes SF patch 103864 and bug 132879). The clobber

target now removes some configure files (like it did before).
üst ccc7473f
...@@ -743,25 +743,19 @@ TAGS:: ...@@ -743,25 +743,19 @@ TAGS::
# files, which clobber removes those as well # files, which clobber removes those as well
clean: clean:
# avoid long command lines, same as LIBRARY_OBJS MAINOBJ PGOBJS find . -name '*.o' -exec rm -f {} ';'
-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 $(srcdir) -name '*.py[co]' -exec rm -f {} ';' find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
clobber: clean clobber: clean
-rm -f tags TAGS $(PYTHON) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \ -rm -f $(PYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
Modules/*.so Modules/*.sl Parser/pgen Modules/*.so Modules/*.sl tags TAGS \
config.cache config.log config.h Modules/config.c
-rm -rf build -rm -rf build
# 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]
distclean: clobber distclean: clobber
-rm -f core Makefile Makefile.pre buildno config.status \ -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 Modules/Setup Modules/Setup.local Modules/Setup.config
find $(srcdir) '(' -name '*.fdc' -o -name '*~' \ find $(srcdir) '(' -name '*.fdc' -o -name '*~' \
-o -name '[@,#]*' -o -name '*.old' \ -o -name '[@,#]*' -o -name '*.old' \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment