aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7d72756..008ee15 100644
--- a/Makefile
+++ b/Makefile
@@ -228,7 +228,7 @@ install: all
cp $(NAME).bin '$(DESTDIR)$(BINDIR)'/$(NAME)
cp src/$(NAME).a '$(DESTDIR)$(GOLIBDIR)'
cp $(sources) '$(DESTDIR)$(SRCDIR)'
- mandir install '$(DESTDIR)$(MANDIR)' $(manpages.N)
+ instool '$(DESTDIR)$(MANDIR)' install man $(manpages.N)
## Uninstalls from $(DESTDIR)$(PREFIX). This is a perfect mirror
## of the "install" target, and removes *all* that was installed.
@@ -239,7 +239,7 @@ uninstall:
'$(DESTDIR)$(GOLIBDIR)'/$(NAME).a \
'$(DESTDIR)$(SRCDIR)' \
- mandir uninstall '$(DESTDIR)$(MANDIR)' $(manpages.N)
+ instool '$(DESTDIR)$(MANDIR)' uninstall man $(manpages.N)