summaryrefslogtreecommitdiff
path: root/editors/vim-share/patches/patch-ac
blob: d256ee44ac5f02619bab9d5a4bcbb52e1024bd44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: patch-ac,v 1.4 2000/06/25 11:50:37 pooka Exp $

--- Makefile.orig	Sat Jun 24 12:28:59 2000
+++ Makefile	Sun Jun 25 13:42:51 2000
@@ -752,7 +752,7 @@
 ### might not work when they are changed!)
 VIMDIR = /vim
 VIMRTDIR = /vim57
-HELPSUBDIR = /doc
+HELPSUBDIR = /../../doc/vim
 SYNSUBDIR = /syntax
 MACROSUBDIR = /macros
 TOOLSSUBDIR = /tools
@@ -1367,6 +1367,7 @@
 
 # install the help files; first adjust the contents for the location
 installvimhelp: $(HELPSOURCE)/vim.1 $(MANSUBDIR) $(VIMLOC) $(VIMRTLOC) $(HELPSUBLOC) $(SYNSUBLOC) $(TUTORSUBLOC)
+	ln -s ${HELPSUBLOC} ${VIMRTLOC}/doc
 	@echo generating $(MANSUBDIR)/$(VIMNAME).1
 	@sed -e s+/usr/local/lib/vim+$(VIMLOC)+ \
 		-e s+$(VIMLOC)/doc+$(HELPENDLOC)+ \
@@ -1487,13 +1488,7 @@
 
 # create links for the manual pages with various names to vim.	This is only
 # done when the links (or manpages with the same name) don't exist yet.
-installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(EXNAME).1 $(MANSUBDIR)/$(VIEWNAME).1 $(MANSUBDIR)/$(RVIMNAME).1 $(MANSUBDIR)/$(RVIEWNAME).1
-
-$(MANSUBDIR)/$(EXNAME).1:
-	cd $(MANSUBDIR); ln -s $(VIMNAME).1 $(EXNAME).1
-
-$(MANSUBDIR)/$(VIEWNAME).1:
-	cd $(MANSUBDIR); ln -s $(VIMNAME).1 $(VIEWNAME).1
+installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(RVIMNAME).1 $(MANSUBDIR)/$(RVIEWNAME).1
 
 $(MANSUBDIR)/$(GVIMNAME).1:
 	cd $(MANSUBDIR); ln -s $(VIMNAME).1 $(GVIMNAME).1