Skip to content

Commit eb98b9c

Browse files
committed
Disable pip warning
1 parent 7c431dd commit eb98b9c

File tree

1 file changed

+6
-28
lines changed

1 file changed

+6
-28
lines changed

Makefile

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,15 @@
1-
# Copyright (C) 2020 Mark Blakeney. This program is distributed under
2-
# the terms of the GNU General Public License.
3-
#
4-
# This program is free software: you can redistribute it and/or modify
5-
# it under the terms of the GNU General Public License as published by
6-
# the Free Software Foundation, either version 3 of the License, or any
7-
# later version.
8-
#
9-
# This program is distributed in the hope that it will be useful, but
10-
# WITHOUT ANY WARRANTY; without even the implied warranty of
11-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12-
# General Public License at <http://www.gnu.org/licenses/> for more
13-
# details.
14-
151
NAME = $(shell basename $(CURDIR))
162
PYNAME = $(subst -,_,$(NAME))
173

18-
DOC = README.md
19-
DOCOUT = $(DOC:.md=.html)
20-
214
all:
225
@echo "Type sudo make install|uninstall"
23-
@echo "or make sdist|upload|doc|check|clean"
6+
@echo "or make sdist|upload|check|clean"
247

258
install:
26-
pip3 install -U .
9+
pip3 install -U --root-user-action=ignore .
2710

2811
uninstall:
29-
pip3 uninstall $(NAME)
12+
pip3 uninstall --root-user-action=ignore $(NAME)
3013

3114
sdist:
3215
rm -rf dist
@@ -35,16 +18,11 @@ sdist:
3518
upload: sdist
3619
twine3 upload --skip-existing dist/*
3720

38-
doc: $(DOCOUT)
39-
40-
$(DOCOUT): $(DOC)
41-
markdown $< >$@
42-
4321
check:
4422
flake8 $(PYNAME).py setup.py
45-
vermin --no-tips -i -q $(PYNAME).py setup.py
46-
shellcheck plugins/*
23+
vermin --no-tips -i $(PYNAME).py setup.py
4724
python3 setup.py check
25+
shellcheck plugins/*
4826

4927
clean:
50-
@rm -vrf $(DOCOUT) *.pyc *.egg-info build/ dist/ __pycache__/
28+
@rm -vrf *.egg-info build/ dist/ __pycache__/

0 commit comments

Comments
 (0)