Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
src/bin/sage: Use 'make SPKG-uninstall' instead of -clean
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Sep 24, 2020
1 parent a9cbfda commit 81a63df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ pkg_deps = \
# <pkgname>-no-deps:
# +$(AM_V_at)sage-logger -p '$(SAGE_SPKG) <pkgname>-<pkgvers>' '$(SAGE_LOGS)/<pkgname>-<pkgvers>.log'
#
# <pkgname>-clean:
# <pkgname>-uninstall:
# sage-spkg-uninstall <pkgname> '$(SAGE_LOCAL)'
#
# So <pkgname>-build-deps installs just the dependencies, while
Expand All @@ -415,7 +415,7 @@ pkg_deps = \
#
# python3: $(INST)/python3-3.7.3
#
# python3-clean:
# python3-uninstall:
# sage-spkg-uninstall python3 '$(SAGE_LOCAL)'
#
# Note: In these rules the $(INST)/<pkgname>-<pkgvers> target is used
Expand Down
2 changes: 1 addition & 1 deletion src/bin/sage
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ if [ "$1" = '-i' ]; then
# First, uninstall the packages if -f was given
if [ "$FORCE_INSTALL" = yes ]; then
for PKG in $PACKAGES; do
$MAKE "$PKG-clean" || true # Ignore errors
$MAKE "$PKG-uninstall" || true # Ignore errors
done
fi

Expand Down

0 comments on commit 81a63df

Please sign in to comment.