Makefile risolve tilde, programma puoi impostare quale programma per su

This commit is contained in:
2022-04-09 15:01:41 +02:00
parent d0ccb1c16d
commit 77a23bdc41
2 changed files with 8 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
# See LICENSE file for copyright and license details.
# paths
PREFIX = ~/.local
PREFIX = /home/${USER}/.local
MANPREFIX = $(PREFIX)/share/man
SHELL = bash
@@ -19,7 +19,7 @@ install:
#problema del check: in PATH si trova estesa, qua e' con ~
#echo "${PATH}" | grep -q "$(DESTDIR)$(PREFIX)/bin" || echo "$(DESTDIR)$(PREFIX)/bin is not in the PATH variable, ne won't run"
#(echo ${PATH} | grep -q $(PREFIX)/bin) || echo "$(DESTDIR)$(PREFIX)/bin is not in the PATH variable, ne won't run"
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/ne