$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