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

Commit 8a19fe2

Browse files
author
Matthias Koeppe
committed
build/make/Makefile.in (sagelib-clean): Clean the new build location
1 parent 01b96b0 commit 8a19fe2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/make/Makefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,10 @@ clean:
331331
@echo "Deleting package build directories..."
332332
rm -rf "$(SAGE_LOCAL)/var/tmp/sage/build"
333333

334-
# c_lib .cython_version are from old sage versions
334+
# "c_lib", ".cython_version", "build" in $(SAGE_SRC) are from old sage versions
335335
sagelib-clean:
336336
@echo "Deleting Sage library build artifacts..."
337-
cd "$(SAGE_SRC)" && (rm -rf c_lib .cython_version; rm -rf build; find . -name '*.pyc' | xargs rm -f; rm -rf sage/ext/interpreters)
337+
(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)
338338

339339
build-clean: clean doc-clean sagelib-clean
340340

0 commit comments

Comments
 (0)