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
install: man sh c all
.PHONY: man sh mkc c
man:
# this used to be {command} $(DESTDIR)$(PREFIX)/man/man1
# this did not work on my computer, but might be needed on other installations
mkdir -p /usr/local/man/man1
cp -f man/* /usr/local/man/man1
mkdir -p $(DESTDIR)$(PREFIX)/man/man1
cp -f man/* $(DESTDIR)$(PREFIX)/man/man1
sh:
mkdir -p $(DESTDIR)$(PREFIX)/bin

2
config.mk Normal file
View File

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