]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
cleanup Makefile; add potestlf rule
authorBob Halley <halley@play-bow.org>
Mon, 29 Jun 2020 01:16:52 +0000 (18:16 -0700)
committerBob Halley <halley@play-bow.org>
Mon, 29 Jun 2020 01:16:52 +0000 (18:16 -0700)
Makefile

index 17110c636188c77da1c7abca708d61f973760ddd..b6106575331286fc74a4d0b1bb4c02b8c61f3aa2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,50 +30,31 @@ clean:
        find . -name '*.pyc' -exec rm {} \;
        find . -name '*.pyo' -exec rm {} \;
        rm -f TAGS
+       rm -rf htmlcov .coverage
+       rm -rf .pytest_cache
 
 distclean: clean docclean
        rm -rf build dist
        rm -f MANIFEST
+       rm -rf dnspython.egg-info
 
-doco:
-       epydoc -v -n dnspython -u http://www.dnspython.org \
-               dns/*.py dns/rdtypes/*.py dns/rdtypes/ANY/*.py \
-               dns/rdtypes/CH/*.py \
-               dns/rdtypes/IN/*.py
-
-dockits: doco
-       mv html dnspython-html
-       tar czf html.tar.gz dnspython-html
-       zip -r html.zip dnspython-html
-       mv dnspython-html html
+doc:
+       cd doc; make html
 
 docclean:
-       rm -rf html.tar.gz html.zip html
-
-kits:
-       ${PYTHON} ./setup.py sdist --formats=gztar,zip bdist_wheel
-
-tags:
-       find . -name '*.py' -print | etags -
+       rm -rf doc/_build
 
 check: test
 
 test:
        cd tests; make test
 
-test3: test
-
-lint:
-       pylint dns tests examples/*.py
-
-lint3: lint
-
-typecheck:
-       mypy examples tests dns
-
 potest:
        poetry run pytest
 
+potestlf:
+       poetry run pytest --lf
+
 potype:
        poetry run python -m mypy examples tests dns/*.py