Makefile risolve tilde, programma puoi impostare quale programma per su
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
Reference in New Issue
Block a user