aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-22 00:05:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-22 00:05:48 +0000
commit027ac1864813b4205002e6b7c176bc36be3060f1 (patch)
tree991c6760f36bd8e6286b2c22626f6f41d0974470
parent717522d99ff49943835fdd737e0e62e7a0874530 (diff)
downloadmandoc-027ac1864813b4205002e6b7c176bc36be3060f1.tar.gz
mandoc-027ac1864813b4205002e6b7c176bc36be3060f1.tar.zst
mandoc-027ac1864813b4205002e6b7c176bc36be3060f1.zip
merge revision 1.505:
Debian wants relative, not absolute symlinks for man pages; suggested by Michael Stapelberg
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8d9c36c7..ee4e8bce 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.488.2.9 2017/02/21 17:57:33 schwarze Exp $
+# $Id: Makefile,v 1.488.2.10 2017/02/22 00:05:48 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013-2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -385,8 +385,7 @@ db-install: mandoc demandoc soelim
$(LN) $(DESTDIR)$(BINDIR)/mandoc \
$(DESTDIR)$(SBINDIR)/$(BINM_MAKEWHATIS)
$(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) mansearch.3 $(DESTDIR)$(MANDIR)/man3
$(INSTALL_MAN) mandoc.db.5 $(DESTDIR)$(MANDIR)/man5
$(INSTALL_MAN) makewhatis.8 \