From ffb58035857f00cc5dd829c455e913ade17c36cb Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 23 Jul 2021 09:25:11 -0300 Subject: Makefile: Use $(PREFIX) directly over the $(MANPREFIX) variable --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d6d68a6..d39fa0b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ .POSIX: PREFIX = /usr/local -MANPREFIX = $(PREFIX)/share/man DATE = 2021-07-16 VERSION = 0.2.3 NAME = git-permalink @@ -43,11 +42,11 @@ dev-check: check public install: all mkdir -p $(DESTDIR)$(PREFIX)/bin cp src/git-permalink $(DESTDIR)$(PREFIX)/bin - sh aux/workflow/manpages.sh -ip $(DESTDIR)$(MANPREFIX) $(manpages) + sh aux/workflow/manpages.sh -ip $(DESTDIR)$(PREFIX)/share/man $(manpages) uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/git-permalink - sh aux/workflow/manpages.sh -up $(DESTDIR)$(MANPREFIX) $(manpages) + sh aux/workflow/manpages.sh -up $(DESTDIR)$(PREFIX)/share/man $(manpages) installcheck: sh aux/workflow/installcheck.sh -x1 -l1 -f5 -p $(PREFIX) -- cgit v1.2.3