Skip to content

Commit 1c6e248

Browse files
author
Matthias Koeppe
committed
bootstrap, Makefile (bootstrap-clean): Do not recurse into autodoc directories of src/doc/en/reference/spkg
1 parent b2298a6 commit 1c6e248

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ distclean: build-clean
173173
bootstrap-clean:
174174
rm -rf config/install-sh config/compile config/config.guess config/config.sub config/missing configure build/make/Makefile-auto.in
175175
rm -f src/doc/en/installation/*.txt
176-
find src/doc/en/reference/spkg -name index.rst -prune -o -name *.rst -exec rm -f {} \+
176+
find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -exec rm -f {} \+
177177
for a in environment environment-optional src/environment src/environment-dev src/environment-optional; do rm -f $$a.yml $$a-3.[89].yml $$a-3.1[0-9].yml; done
178178
rm -f src/Pipfile
179179
rm -f src/requirements.txt

bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ save () {
234234
config/install-sh config/compile config/config.guess config/config.sub config/missing \
235235
build/make/Makefile-auto.in \
236236
src/doc/en/installation/*.txt \
237-
$(find src/doc/en/reference/spkg -name index.rst -prune -o -name *.rst -print) \
237+
$(find src/doc/en/reference/spkg -name index.rst -prune -o -maxdepth 1 -name "*.rst" -print) \
238238
environment-3.[89].yml environment-3.1[0-9].yml \
239239
src/environment-3.[89].yml src/environment-3.1[0-9].yml \
240240
environment-optional-3.[89].yml environment-optional-3.1[0-9].yml \

0 commit comments

Comments
 (0)