id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,work_issues,upstream,reviewer,author,merged,dependencies,stopgaps
9083,'make distclean' fails to remove some files or directories.,drkirkby,drkirkby,"Conventionally 'make distclean' removes all traces of a build process, leaving only the original files. 

However, at least the following four files or directories are being left after running 'make distclean'.

{{{
./.BUILDSTART 
dochtml.log
spkg/install
spkg/installed
}}}
There is a section in the makefile
{{{
distclean:
        make clean
        rm -rf local
        rm -rf spkg/installed/*
        rm -f install.log
        rm -f test.log testall.log testlong.log ptest.log ptestlong.log
        rm -rf data
        rm -rf dist
        rm -rf devel
        rm -rf doc
        rm -rf examples
        rm -rf sage-python
        rm -rf spkg/build
        rm -rf spkg/archive
        rm -rf ipython
        rm -rf matplotlibrc
        rm -rf tmp
}}}

The two files and two directories need adding to that section. There may be other files created too. The way to find any new files or directories would be to 

 * Extract the Sage tarball.
 * Build Sage fully. 
 * Run the following two commands from the top level Sage directory.
 
{{{
$ 'make distclean'
$ find . -mtime -2
}}}

That will list any files or directories updated in the last two days. 

The following files
  * sage-README-osx.txt
  * COPYING.txt
  * README.txt

are having their modification times changed. I think that is undesirable, but that is another problem and the subject of #9082. So the changes to the makefile should not remove those 3 files, despite their recent modification times. 

",defect,closed,major,sage-4.5.2,build,fixed,,,,N/A,Mitesh Patel,"Dan Drake, John Palmieri",sage-4.5.2.alpha1,,
