--- Makefile.orig 2023-07-27 18:44:09 UTC +++ Makefile @@ -1,12 +1,12 @@ -prefix ?= /usr/local +PREFIX ?= /usr/local all: bin/create_yaggo_one_file ruby bin/create_yaggo_one_file ./yaggo install: all - mkdir -p $(DESTDIR)$(prefix)/bin - mkdir -p $(DESTDIR)$(prefix)/share/doc/yaggo - mkdir -p $(DESTDIR)$(prefix)/share/man/man1 - cp ./yaggo $(DESTDIR)$(prefix)/bin - cp ./README.md $(DESTDIR)$(prefix)/share/doc/yaggo - ./yaggo -m $(DESTDIR)$(prefix)/share/man/man1/yaggo.1 + mkdir -p $(DESTDIR)$(PREFIX)/bin + mkdir -p $(DESTDIR)$(PREFIX)/share/doc/yaggo + mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 + cp ./yaggo $(DESTDIR)$(PREFIX)/bin + cp ./README.md $(DESTDIR)$(PREFIX)/share/doc/yaggo + ./yaggo -m $(DESTDIR)$(PREFIX)/share/man/man1/yaggo.1