summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-05-01 17:20:28 +0200
committerGitHub <noreply@github.com>2017-05-01 17:20:28 +0200
commit2a7ba3d6e270effdd69975517be4c84790757e96 (patch)
tree86f23b10331ba8405e0224b8aba7accfb5f55fcc /Makefile
parent209980937428fc53cf26a3d22df138cc291d50c4 (diff)
parent552ee29eb1151ddec0b652db8d974abfa38440bd (diff)
downloadpsutil-2a7ba3d6e270effdd69975517be4c84790757e96.tar.gz
Merge pull request #1036 from himanshub16/check-broken-links
Check broken links
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fba1f93d..953225e3 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,8 @@ DEPS = \
setuptools \
sphinx \
twine \
- unittest2
+ unittest2 \
+ requests
# In not in a virtualenv, add --user options for install commands.
INSTALL_OPTS = `$(PYTHON) -c "import sys; print('' if hasattr(sys, 'real_prefix') else '--user')"`
@@ -278,3 +279,7 @@ doc:
cd docs && make html && cd _build/html/ && zip doc.zip -r .
mv docs/_build/html/doc.zip .
@echo "done; now manually upload doc.zip from here: https://pypi.python.org/pypi?:action=pkg_edit&name=psutil"
+
+# check whether the links mentioned in some files are valid.
+check-broken-links:
+ git ls-files | grep \\.rst$ | xargs $(PYTHON) scripts/internal/check_broken_links.py