summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-22 00:00:12 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-22 00:00:12 +0000
commit6296fe05a1227c9323d586695521ad79308cc447 (patch)
treefdeb49283629af5fd64a71959324b6820c9b39f8 /Makefile
parentfb0c185266647d5338aa3a571e739e56d6946837 (diff)
downloadmandoc-6296fe05a1227c9323d586695521ad79308cc447.tar.gz
Debian wants relative, not absolute symlinks for man pages;
suggested by Michael Stapelberg
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8b5a0ea7..c7c6bdf7 100644
--- a/Makefile
+++ b/Makefile
@@ -397,8 +397,7 @@ base-install: mandoc demandoc soelim
$(INSTALL_MAN) soelim.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_SOELIM).1
$(INSTALL_MAN) man.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_MAN).1
$(INSTALL_MAN) apropos.1 $(DESTDIR)$(MANDIR)/man1/$(BINM_APROPOS).1
- $(LN) $(DESTDIR)$(MANDIR)/man1/$(BINM_APROPOS).1 \
- $(DESTDIR)$(MANDIR)/man1/$(BINM_WHATIS).1
+ cd $(DESTDIR)$(MANDIR)/man1 && $(LN) $(BINM_APROPOS).1 $(BINM_WHATIS).1
$(INSTALL_MAN) man.conf.5 $(DESTDIR)$(MANDIR)/man5/$(MANM_MANCONF).5
$(INSTALL_MAN) mandoc.db.5 $(DESTDIR)$(MANDIR)/man5
$(INSTALL_MAN) man.7 $(DESTDIR)$(MANDIR)/man7/$(MANM_MAN).7