Skip to content

Commit

Permalink
safer "rm" (preceded by cd [..] &&), README about src/sage/ext/interp…
Browse files Browse the repository at this point in the history
…reters/
  • Loading branch information
dimpase committed Nov 7, 2024
1 parent 67f81b6 commit b003c50
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ __pycache__/
# Generated by sage_setup.autogen
/src/sage/ext/interpreters
!/src/sage/ext/interpreters/meson.build
!/src/sage/ext/interpreters/README

# Generated Cython files
*.so
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ sagelib-clean:
rm -rf c_lib .cython_version cython_debug; \
rm -rf build; find . -name '*.pyc' -o -name "*.so" | xargs rm -f; \
rm -f $$(find . -name "*.pyx" | sed 's/\(.*\)[.]pyx$$/\1.c \1.cpp/'); \
cd sage/ext/interpreters/; rm -f *.so *.c *.h *.py* *.pxd) \
cd sage/ext/interpreters/ && rm -f *.so *.c *.h *.py* *.pxd) \
&& (cd "$(SAGE_ROOT)/build/pkgs/sagelib/src/" && rm -rf build); \
fi

Expand Down
1 change: 1 addition & 0 deletions src/sage/ext/interpreters/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The files in this directory, except meson.build, are autogenerated by sage_setup.autogen

0 comments on commit b003c50

Please sign in to comment.