projects/aports·blob master · refs

19 lines · 855 B

1diff --git a/Makefile b/Makefile
2index ccbf433..bd0026c 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -94,12 +94,12 @@ install-guake:
6 @sed -i -e 's|{{ LOGIN_DESTOP_PATH }}|"$(LOGIN_DESTOP_PATH)"|g' guake/paths.py
7 @sed -i -e 's|{{ AUTOSTART_FOLDER }}|"$(AUTOSTART_FOLDER)"|g' guake/paths.py
8
9- @$(PYTHON_INTERPRETER) -m pip install . --root "$(DESTDIR)" --prefix="/usr" || echo -e "\033[31;1msetup.py install failed, you may need to run \"sudo git config --global --add safe.directory '*'\"\033[0m"
10+ @gpep517 build-wheel --wheel-dir dist --output-fd 3 3>&1 >&2
11+ @python3 -m installer -d "$(DESTDIR)" dist/*.whl
12
13 @rm -f guake/paths.py
14 @if [ -f guake/paths.py.dev ]; then mv guake/paths.py.dev guake/paths.py; fi
15
16- @update-desktop-database || echo "Could not run update-desktop-database, are you root?"
17 @rm -rfv build *.egg-info
18
19 install-locale: