diff --git a/GNUmakefile b/GNUmakefile index a5ab92d..5e7fab3 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -19,5 +19,5 @@ install: all install -Dm755 $(PROG) $(DESTDIR)$(PREFIX)/$(BIN)/$(PROG) install -Dm644 doc/$(PROG).1 $(DESTDIR)$(MAN)/man1/$(PROG).1 # completions need to go in one specific place :) - install -Dm644 completions/zsh.zsh $(DESTDIR)/usr/$(SHARE)/zsh/site-functions/_$(PROG) + install -Dm644 completions/zsh.zsh $(DESTDIR)/$(PREFIX)/$(SHARE)/zsh/site-functions/_$(PROG) endif diff --git a/Makefile b/Makefile index d8777ec..d8d8c68 100644 --- a/Makefile +++ b/Makefile @@ -11,4 +11,4 @@ install: all install -Dm755 $(PROG) $(DESTDIR)$(PREFIX)/$(BIN)/$(PROG) install -Dm644 doc/$(PROG).1 $(DESTDIR)$(MAN)/man1/$(PROG).1 # completions need to go in one specific place :) - install -Dm644 completions/zsh.zsh $(DESTDIR)/usr/$(SHARE)/zsh/site-functions/_$(PROG) \ No newline at end of file + install -Dm644 completions/zsh.zsh $(DESTDIR)/$(PREFIX)/$(SHARE)/zsh/site-functions/_$(PROG) \ No newline at end of file