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

Commit

Permalink
build/make/Makefile.in (sagelib-clean): Remove .so files in editable …
Browse files Browse the repository at this point in the history
…installs
  • Loading branch information
Matthias Koeppe committed Feb 11, 2021
1 parent 1cb260a commit 36bbd6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/make/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,10 @@ clean:
rm -rf "$(SAGE_LOCAL)/var/tmp/sage/build"

# "c_lib", ".cython_version", "build" in $(SAGE_SRC) are from old sage versions
# Cleaning .so files is for editable installs.
sagelib-clean:
@echo "Deleting Sage library build artifacts..."
(cd "$(SAGE_SRC)" && rm -rf c_lib .cython_version; rm -rf build; find . -name '*.pyc' | xargs rm -f; rm -rf sage/ext/interpreters) && (cd "$(SAGE_ROOT)/build/pkgs/sagelib/src/" && rm -rf build)
(cd "$(SAGE_SRC)" && rm -rf c_lib .cython_version; rm -rf build; find . -name '*.pyc' -o -name "*.so" | xargs rm -f; rm -rf sage/ext/interpreters) && (cd "$(SAGE_ROOT)/build/pkgs/sagelib/src/" && rm -rf build)

build-clean: clean doc-clean sagelib-clean

Expand Down

0 comments on commit 36bbd6c

Please sign in to comment.