From ca3faec6cec943baae51fd04e8e398edcb80c424 Mon Sep 17 00:00:00 2001 From: randomuser Date: Thu, 22 Dec 2022 15:31:19 -0600 Subject: [PATCH] change installation path --- Makefile | 7 +++---- config.mk | 2 ++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 config.mk diff --git a/Makefile b/Makefile index 6ec81c3..59dedfc 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..bcab3b0 --- /dev/null +++ b/config.mk @@ -0,0 +1,2 @@ +DESTDIR=$(HOME)/.local +