Fix handling of man page links.

This commit is contained in:
David E. O'Brien 1998-03-22 22:13:59 +00:00
parent dee1bd55d7
commit 4ab3e40ac4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10292
6 changed files with 126 additions and 21 deletions

View file

@ -4,7 +4,7 @@
# Date created: Sat June 29, 1996 # Date created: Sat June 29, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu) # Whom: David O'Brien (obrien@cs.ucdavis.edu)
# #
# $Id: Makefile,v 1.21 1998/02/19 17:42:54 obrien Exp $ # $Id: Makefile,v 1.22 1998/02/19 18:08:46 obrien Exp $
# #
DISTNAME= vim-5.0 DISTNAME= vim-5.0
@ -36,7 +36,6 @@ pre-build:
post-install: post-install:
[ -e ${PREFIX}/bin/gvim ] || /bin/ln -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim [ -e ${PREFIX}/bin/gvim ] || /bin/ln -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
@${RM} -f ${PREFIX}/man/man1/etags.1
@/bin/ln -sf ${PREFIX}/man/man1/ctags.1.gz ${PREFIX}/man/man1/etags.1.gz @/bin/ln -sf ${PREFIX}/man/man1/ctags.1.gz ${PREFIX}/man/man1/etags.1.gz
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- Makefile.orig Sun Feb 8 12:18:57 1998 --- Makefile.orig Wed Feb 18 13:53:04 1998
+++ Makefile Mon Feb 9 02:07:52 1998 +++ Makefile Sun Mar 22 14:11:53 1998
@@ -260,6 +260,7 @@ @@ -268,6 +268,7 @@
### Extra configure arguments - just put anything here, just an example ### Extra configure arguments - just put anything here, just an example
#CONF_ARGS = --exec-prefix=/usr #CONF_ARGS = --exec-prefix=/usr
@ -8,8 +8,8 @@
### For creating a plain Vim without any X11 related fancies use this one: ### For creating a plain Vim without any X11 related fancies use this one:
### (otherwise Vim configure will try to include xterm titlebar access) ### (otherwise Vim configure will try to include xterm titlebar access)
@@ -1058,28 +1059,28 @@ @@ -1066,56 +1067,56 @@
installinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET) installlinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET)
$(BINDIR)/$(EXTARGET): $(BINDIR)/$(EXTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET) - cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET)
@ -45,3 +45,39 @@
# create links for the manual pages with various names to vim. This is only # 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. # done when the links (or manpages with the same name) don't exist yet.
installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(EXTARGET).1 $(MANSUBDIR)/$(VIEWTARGET).1 $(MANSUBDIR)/$(RVIMTARGET).1 $(MANSUBDIR)/$(RVIEWTARGET).1
$(MANSUBDIR)/$(EXTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
$(MANSUBDIR)/$(VIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
$(MANSUBDIR)/$(GVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
$(MANSUBDIR)/$(GVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
$(MANSUBDIR)/$(RVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
$(MANSUBDIR)/$(RVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
$(MANSUBDIR)/$(RGVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
$(MANSUBDIR)/$(RGVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
uninstall:
-rm -f $(BINDIR)/$(VIMTARGET)$(SUFFIX)

View file

@ -4,7 +4,7 @@
# Date created: Sat June 29, 1996 # Date created: Sat June 29, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu) # Whom: David O'Brien (obrien@cs.ucdavis.edu)
# #
# $Id: Makefile,v 1.21 1998/02/19 17:42:54 obrien Exp $ # $Id: Makefile,v 1.22 1998/02/19 18:08:46 obrien Exp $
# #
DISTNAME= vim-5.0 DISTNAME= vim-5.0
@ -36,7 +36,6 @@ pre-build:
post-install: post-install:
[ -e ${PREFIX}/bin/gvim ] || /bin/ln -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim [ -e ${PREFIX}/bin/gvim ] || /bin/ln -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
@${RM} -f ${PREFIX}/man/man1/etags.1
@/bin/ln -sf ${PREFIX}/man/man1/ctags.1.gz ${PREFIX}/man/man1/etags.1.gz @/bin/ln -sf ${PREFIX}/man/man1/ctags.1.gz ${PREFIX}/man/man1/etags.1.gz
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- Makefile.orig Sun Feb 8 12:18:57 1998 --- Makefile.orig Wed Feb 18 13:53:04 1998
+++ Makefile Mon Feb 9 02:07:52 1998 +++ Makefile Sun Mar 22 14:11:53 1998
@@ -260,6 +260,7 @@ @@ -268,6 +268,7 @@
### Extra configure arguments - just put anything here, just an example ### Extra configure arguments - just put anything here, just an example
#CONF_ARGS = --exec-prefix=/usr #CONF_ARGS = --exec-prefix=/usr
@ -8,8 +8,8 @@
### For creating a plain Vim without any X11 related fancies use this one: ### For creating a plain Vim without any X11 related fancies use this one:
### (otherwise Vim configure will try to include xterm titlebar access) ### (otherwise Vim configure will try to include xterm titlebar access)
@@ -1058,28 +1059,28 @@ @@ -1066,56 +1067,56 @@
installinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET) installlinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET)
$(BINDIR)/$(EXTARGET): $(BINDIR)/$(EXTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET) - cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET)
@ -45,3 +45,39 @@
# create links for the manual pages with various names to vim. This is only # 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. # done when the links (or manpages with the same name) don't exist yet.
installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(EXTARGET).1 $(MANSUBDIR)/$(VIEWTARGET).1 $(MANSUBDIR)/$(RVIMTARGET).1 $(MANSUBDIR)/$(RVIEWTARGET).1
$(MANSUBDIR)/$(EXTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
$(MANSUBDIR)/$(VIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
$(MANSUBDIR)/$(GVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
$(MANSUBDIR)/$(GVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
$(MANSUBDIR)/$(RVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
$(MANSUBDIR)/$(RVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
$(MANSUBDIR)/$(RGVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
$(MANSUBDIR)/$(RGVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
uninstall:
-rm -f $(BINDIR)/$(VIMTARGET)$(SUFFIX)

View file

@ -4,7 +4,7 @@
# Date created: Sat June 29, 1996 # Date created: Sat June 29, 1996
# Whom: David O'Brien (obrien@cs.ucdavis.edu) # Whom: David O'Brien (obrien@cs.ucdavis.edu)
# #
# $Id: Makefile,v 1.21 1998/02/19 17:42:54 obrien Exp $ # $Id: Makefile,v 1.22 1998/02/19 18:08:46 obrien Exp $
# #
DISTNAME= vim-5.0 DISTNAME= vim-5.0
@ -36,7 +36,6 @@ pre-build:
post-install: post-install:
[ -e ${PREFIX}/bin/gvim ] || /bin/ln -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim [ -e ${PREFIX}/bin/gvim ] || /bin/ln -s ${PREFIX}/bin/vim ${PREFIX}/bin/gvim
@${RM} -f ${PREFIX}/man/man1/etags.1
@/bin/ln -sf ${PREFIX}/man/man1/ctags.1.gz ${PREFIX}/man/man1/etags.1.gz @/bin/ln -sf ${PREFIX}/man/man1/ctags.1.gz ${PREFIX}/man/man1/etags.1.gz
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- Makefile.orig Sun Feb 8 12:18:57 1998 --- Makefile.orig Wed Feb 18 13:53:04 1998
+++ Makefile Mon Feb 9 02:07:52 1998 +++ Makefile Sun Mar 22 14:11:53 1998
@@ -260,6 +260,7 @@ @@ -268,6 +268,7 @@
### Extra configure arguments - just put anything here, just an example ### Extra configure arguments - just put anything here, just an example
#CONF_ARGS = --exec-prefix=/usr #CONF_ARGS = --exec-prefix=/usr
@ -8,8 +8,8 @@
### For creating a plain Vim without any X11 related fancies use this one: ### For creating a plain Vim without any X11 related fancies use this one:
### (otherwise Vim configure will try to include xterm titlebar access) ### (otherwise Vim configure will try to include xterm titlebar access)
@@ -1058,28 +1059,28 @@ @@ -1066,56 +1067,56 @@
installinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET) installlinks: $(GUI_TARGETS) $(BINDIR)/$(EXTARGET) $(BINDIR)/$(VIEWTARGET) $(BINDIR)/$(RVIMTARGET) $(BINDIR)/$(RVIEWTARGET)
$(BINDIR)/$(EXTARGET): $(BINDIR)/$(EXTARGET):
- cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET) - cd $(BINDIR); ln -s $(VIMTARGET) $(EXTARGET)
@ -45,3 +45,39 @@
# create links for the manual pages with various names to vim. This is only # 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. # done when the links (or manpages with the same name) don't exist yet.
installhelplinks: $(GUI_MAN_TARGETS) $(MANSUBDIR)/$(EXTARGET).1 $(MANSUBDIR)/$(VIEWTARGET).1 $(MANSUBDIR)/$(RVIMTARGET).1 $(MANSUBDIR)/$(RVIEWTARGET).1
$(MANSUBDIR)/$(EXTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(EXTARGET).1
$(MANSUBDIR)/$(VIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(VIEWTARGET).1
$(MANSUBDIR)/$(GVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIMTARGET).1
$(MANSUBDIR)/$(GVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(GVIEWTARGET).1
$(MANSUBDIR)/$(RVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIMTARGET).1
$(MANSUBDIR)/$(RVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RVIEWTARGET).1
$(MANSUBDIR)/$(RGVIMTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIMTARGET).1
$(MANSUBDIR)/$(RGVIEWTARGET).1:
- cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
+# cd $(MANSUBDIR); ln -s $(VIMTARGET).1 $(RGVIEWTARGET).1
uninstall:
-rm -f $(BINDIR)/$(VIMTARGET)$(SUFFIX)