Skip to content

Commit 7d99833

Browse files
committed
General review of Makefile and .gitignore
1 parent a736b9e commit 7d99833

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

.gitignore

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
*.pyc
2-
*~
3-
.cache/
41
__pycache__/
2+
/.env
53
/MANIFEST
64
/_meta.py
75
/build/
86
/dist/
9-
/doc/doctest/
10-
/doc/doctrees/
11-
/doc/html/
12-
/doc/latex/
13-
/doc/linkcheck/
14-
/pytest_dependency.egg-info/
15-
/python2_6.patch

Makefile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ doc-html: build
1515
$(MAKE) -C doc html PYTHONPATH=$(BUILDLIB)
1616

1717
clean:
18-
rm -f *~ tests/*~
1918
rm -rf build
19+
rm -rf __pycache__
2020

2121
distclean: clean
2222
rm -f MANIFEST _meta.py
23-
rm -rf .cache tests/.cache .pytest_cache tests/.pytest_cache
24-
rm -f *.pyc tests/*.pyc
25-
rm -rf __pycache__ tests/__pycache__
2623
rm -rf dist
27-
rm -rf pytest_dependency.egg-info
24+
rm -rf tests/.pytest_cache
2825
$(MAKE) -C doc distclean
2926

3027
meta:

doc/.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/devhelp/
2+
/dirhtml/
3+
/doctrees/
4+
/epub/
5+
/gettext/
6+
/html/
7+
/htmlhelp/
8+
/json/
9+
/latex/
10+
/linkcheck/
11+
/man/
12+
/pickle/
13+
/pseudoxml/
14+
/qthelp/
15+
/singlehtml/
16+
/texinfo/
17+
/text/
18+
/xml/

0 commit comments

Comments
 (0)