Opened 3 years ago
Last modified 22 months ago
#21775 new enhancement
make distclean: Don't delete $SAGE_ROOT/local
Reported by: | mkoeppe | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-7.5 |
Component: | build | Keywords: | |
Cc: | jdemeyer | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
Change History (4)
comment:1 Changed 3 years ago by
comment:2 Changed 3 years ago by
- Description modified (diff)
- Summary changed from make distclean: Don't delete the install hierarchy (SAGE_LOCAL) to make distclean: Don't delete $SAGE_ROOT/local
comment:3 Changed 3 years ago by
That's certainly a defendable position.
What if the user explicitly used --prefix=$SAGE_ROOT/local
or to another subdirectory of $SAGE_ROOT
?
comment:4 Changed 22 months ago by
I would lean toward make distclean
removes any $SAGE_LOCAL
that's a subdirectory of $SAGE_ROOT
. That's the point of make distclean
. There's not much use for a custom --prefix
outside installing Sage outside of $SAGE_ROOT
.
Note: See
TracTickets for help on using
tickets.
I would argue that
$SAGE_LOCAL
should not be deleted bymake distclean
but that$SAGE_ROOT/local
should be deleted bymake distclean
.