aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-07-23 09:25:11 -0300
committerEuAndreh <eu@euandre.org>2021-07-23 09:25:11 -0300
commitffb58035857f00cc5dd829c455e913ade17c36cb (patch)
tree84d303b0bbd6b96b528128c52cf7a3b3ca979a4d /Makefile
parentTODOs.md: Add #task-bf65e50a-b424-9fce-ba8e-fcd6b3bf1c7a (diff)
downloadgit-permalink-ffb58035857f00cc5dd829c455e913ade17c36cb.tar.gz
git-permalink-ffb58035857f00cc5dd829c455e913ade17c36cb.tar.xz
Makefile: Use $(PREFIX) directly over the $(MANPREFIX) variable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
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)