Skip to content

Commit 258a39a

Browse files
author
Release Manager
committed
gh-38934: keep meson.build file for ext/interpreters `make sagelib-clean` should not remove any `meson.build` files, but now it does, the one in `src/sage/ext/interpreters/`. As reported here: https://groups.google.com/g/sage- release/c/HHbr1W7vDoM/m/qLYBuIcpCAAJ This PR fixes this. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ x] The title is concise and informative. - [x ] The description explains in detail what this PR is about. - [ x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> URL: #38934 Reported by: Dima Pasechnik Reviewer(s): Dima Pasechnik, Gonzalo Tornaría, Tobias Diez
2 parents a26d8cd + b003c50 commit 258a39a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ __pycache__/
150150
# Generated by sage_setup.autogen
151151
/src/sage/ext/interpreters
152152
!/src/sage/ext/interpreters/meson.build
153+
!/src/sage/ext/interpreters/README
153154

154155
# Generated Cython files
155156
*.so

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ sagelib-clean:
122122
rm -rf c_lib .cython_version cython_debug; \
123123
rm -rf build; find . -name '*.pyc' -o -name "*.so" | xargs rm -f; \
124124
rm -f $$(find . -name "*.pyx" | sed 's/\(.*\)[.]pyx$$/\1.c \1.cpp/'); \
125-
rm -rf sage/ext/interpreters) \
125+
cd sage/ext/interpreters/ && rm -f *.so *.c *.h *.py* *.pxd) \
126126
&& (cd "$(SAGE_ROOT)/build/pkgs/sagelib/src/" && rm -rf build); \
127127
fi
128128

src/sage/ext/interpreters/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The files in this directory, except meson.build, are autogenerated by sage_setup.autogen

0 commit comments

Comments
 (0)