#9083: 'make distclean' fails to remove some files or directories.
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: GeorgSWeber
Type: defect | Status: new
Priority: major | Milestone: sage-4.4.3
Component: build | Keywords: beginner
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
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.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9083>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.