change installation path

This commit is contained in:
randomuser 2022-12-22 15:31:19 -06:00
parent 2dba69ed07
commit ca3faec6ce
2 changed files with 5 additions and 4 deletions

View File

@ -1,12 +1,11 @@
include config.mk
all: mkc all: mkc
install: man sh c all install: man sh c all
.PHONY: man sh mkc c .PHONY: man sh mkc c
man: man:
# this used to be {command} $(DESTDIR)$(PREFIX)/man/man1 mkdir -p $(DESTDIR)$(PREFIX)/man/man1
# this did not work on my computer, but might be needed on other installations cp -f man/* $(DESTDIR)$(PREFIX)/man/man1
mkdir -p /usr/local/man/man1
cp -f man/* /usr/local/man/man1
sh: sh:
mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)$(PREFIX)/bin

2
config.mk Normal file
View File

@ -0,0 +1,2 @@
DESTDIR=$(HOME)/.local