On Mon, 01 Jul 2013 23:05:56 +0200, Victor Stinner <victor.stin...@gmail.com> wrote: > Hi Georg, > > 2013/7/1 Georg Brandl <g.bra...@gmx.net>: > > Am 26.06.2013 16:24, schrieb Victor Stinner: > >> 2013/6/26 Eric V. Smith <e...@trueblade.com>: > >>> I think that's exactly what's happening. > >>> > >>> From the bug report: > >>> > >>> find $(srcdir) '(' -name '*.fdc' -o -name '*~' \ > >>> -o -name '[@,#]*' -o -name '*.old' \ > >>> -o -name '*.orig' -o -name '*.rej' \ > >>> -o -name '*.bak' ')' \ > >>> -exec rm -f {} ';' > >>> > >>> Will find files beginning with '@' inside subdirectories of $(srcdir)/.hg. > >> > >> In my opinion, make distclean should only remove files generated by > >> configure and a build. It should not remove random files. > >> > >> *~, .orig, .rej, .back should be kept. They are not generated by > >> configure nor make. > > > > I think you want "make clean" then. > > I don't understand why you are suggesting me to use "make clean". I > would like to start a fresh build, so remove configure and Makefile, > but I also want to keep my local changes and local files not tracked > by Mercurial. I need this when the build does not work because a new > file was added or a build script was modified. "make clean" does not > change anything for this use case. > > For example, I don't understand why "make distclean" removes the > "tags" file. Generating this file takes 20 to 30 seconds on my slow > laptop, and it is not generated by Python build system, but by the > external ctags program. > > Don't you think that we need two different "distclean" commands? One > GNU-style "distclean" which only removes configure and Makefile, and > another "distclean" which is the GNU "distclean" + the extra find > removing temporary files.
The command that does not remove the extra files is *not* a 'distclean' command. 'buildclean' or 'configclean', but not 'distclean'. distclean still needs to be fixed, so please open a new issue for adding buildclean or whatever you want to call it, as Eric requested in the existing issue. --David _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com