Skip to content

Commit 340a3ac

Browse files
committed
Fix make clean.
1 parent 7a99a3e commit 340a3ac

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ clean:
3030
distclean: clean
3131
rm -rf .cache tests/.cache
3232
rm -f MANIFEST
33-
rm -f *.pyc tests/*.pyc doc/examples/*.pyc
34-
rm -rf __pycache__ tests/__pycache__ doc/examples/__pycache__
33+
rm -f *.pyc tests/*.pyc
34+
rm -rf __pycache__ tests/__pycache__
3535
rm -rf dist
3636
rm -rf pytest_dependency.egg-info
3737
rm -f python2_6.patch

doc/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ doctest: $(SRCDIRS)
3232
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) doctest
3333

3434
clean:
35-
rm -f *~ src/*~
35+
rm -f *~ examples/*~ src/*~
3636

3737
distclean: clean
3838
rm -rf doctrees html latex linkcheck doctest
39+
rm -f examples/*.pyc
40+
rm -rf examples/__pycache__
3941

4042
src/_static:
4143
mkdir $@

0 commit comments

Comments
 (0)