comparison src/Makefile @ 40:f1d2a58883b9 v7.0024

updated for version 7.0024
author vimboss
date Fri, 24 Dec 2004 14:35:23 +0000
parents 404aac550f35
children c75153d791d0
comparison
equal deleted inserted replaced
39:410fa1a31baf 40:f1d2a58883b9
120 # make installvim only installs Vim, not the tools 120 # make installvim only installs Vim, not the tools
121 # make installvimbin only installs the Vim executable 121 # make installvimbin only installs the Vim executable
122 # make installruntime only installs the Vim help and 122 # make installruntime only installs the Vim help and
123 # runtime files 123 # runtime files
124 # make installlinks only installs the Vim binary links 124 # make installlinks only installs the Vim binary links
125 # make installhelplinks only installs the Vim manpage links 125 # make installmanlinks only installs the Vim manpage links
126 # make installmacros only installs the Vim macros 126 # make installmacros only installs the Vim macros
127 # make installtutor only installs the Vim tutor 127 # make installtutor only installs the Vim tutor
128 # make installtools only installs xxd 128 # make installtools only installs xxd
129 # If you install Vim, not to install for real but to prepare a package 129 # If you install Vim, not to install for real but to prepare a package
130 # or RPM, set DESTDIR to the root of the tree. 130 # or RPM, set DESTDIR to the root of the tree.
846 846
847 ### DESTDIR root of the installation tree. This is prepended to the other 847 ### DESTDIR root of the installation tree. This is prepended to the other
848 # directories. This directory must exist. 848 # directories. This directory must exist.
849 #DESTDIR = ~/pkg/vim 849 #DESTDIR = ~/pkg/vim
850 850
851 ### Location of man pages 851 ### Directory of the man pages
852 MANSUBDIR = $(MANDIR)/man1 852 MAN1DIR = /man1
853 853
854 ### Vim version (adjusted by a script) 854 ### Vim version (adjusted by a script)
855 VIMMAJOR = 7 855 VIMMAJOR = 7
856 VIMMINOR = 0aa 856 VIMMINOR = 0aa
857 857
1065 KDE_DIR = $(KDE_PREFIX) 1065 KDE_DIR = $(KDE_PREFIX)
1066 KDE_LIBS1 = 1066 KDE_LIBS1 =
1067 KDE_LIBS2 = 1067 KDE_LIBS2 =
1068 KDE_INSTALL = install_normal 1068 KDE_INSTALL = install_normal
1069 KDE_TARGETS = installglinks installkdeicons 1069 KDE_TARGETS = installglinks installkdeicons
1070 KDE_MAN_TARGETS = installghelplinks 1070 KDE_MAN_TARGETS = yes
1071 KDE_TESTTARGET = gui 1071 KDE_TESTTARGET = gui
1072 1072
1073 ### GTK GUI 1073 ### GTK GUI
1074 GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c pty.c gui_gtk_f.c \ 1074 GTK_SRC = gui.c gui_gtk.c gui_gtk_x11.c pty.c gui_gtk_f.c \
1075 gui_beval.c 1075 gui_beval.c
1081 GTK_LIBS_DIR = $(GUI_LIB_LOC) 1081 GTK_LIBS_DIR = $(GUI_LIB_LOC)
1082 GTK_LIBS1 = 1082 GTK_LIBS1 =
1083 GTK_LIBS2 = $(GTK_LIBNAME) 1083 GTK_LIBS2 = $(GTK_LIBNAME)
1084 GTK_INSTALL = install_normal 1084 GTK_INSTALL = install_normal
1085 GTK_TARGETS = installglinks 1085 GTK_TARGETS = installglinks
1086 GTK_MAN_TARGETS = installghelplinks 1086 GTK_MAN_TARGETS = yes
1087 GTK_TESTTARGET = gui 1087 GTK_TESTTARGET = gui
1088 1088
1089 ### Motif GUI 1089 ### Motif GUI
1090 MOTIF_SRC = gui.c gui_motif.c gui_x11.c pty.c gui_beval.c 1090 MOTIF_SRC = gui.c gui_motif.c gui_x11.c pty.c gui_beval.c
1091 MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \ 1091 MOTIF_OBJ = objects/gui.o objects/gui_motif.o objects/gui_x11.o \
1095 MOTIF_LIBS_DIR = $(GUI_LIB_LOC) 1095 MOTIF_LIBS_DIR = $(GUI_LIB_LOC)
1096 MOTIF_LIBS1 = 1096 MOTIF_LIBS1 =
1097 MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt 1097 MOTIF_LIBS2 = $(MOTIF_LIBNAME) -lXt
1098 MOTIF_INSTALL = install_normal 1098 MOTIF_INSTALL = install_normal
1099 MOTIF_TARGETS = installglinks 1099 MOTIF_TARGETS = installglinks
1100 MOTIF_MAN_TARGETS = installghelplinks 1100 MOTIF_MAN_TARGETS = yes
1101 MOTIF_TESTTARGET = gui 1101 MOTIF_TESTTARGET = gui
1102 1102
1103 ### Athena GUI 1103 ### Athena GUI
1104 ### Use Xaw3d to make the menus look a little bit nicer 1104 ### Use Xaw3d to make the menus look a little bit nicer
1105 #XAW_LIB = -lXaw3d 1105 #XAW_LIB = -lXaw3d
1124 ATHENA_LIBS_DIR = $(GUI_LIB_LOC) 1124 ATHENA_LIBS_DIR = $(GUI_LIB_LOC)
1125 ATHENA_LIBS1 = $(XAW_LIB) 1125 ATHENA_LIBS1 = $(XAW_LIB)
1126 ATHENA_LIBS2 = -lXt 1126 ATHENA_LIBS2 = -lXt
1127 ATHENA_INSTALL = install_normal 1127 ATHENA_INSTALL = install_normal
1128 ATHENA_TARGETS = installglinks 1128 ATHENA_TARGETS = installglinks
1129 ATHENA_MAN_TARGETS = installghelplinks 1129 ATHENA_MAN_TARGETS = yes
1130 ATHENA_TESTTARGET = gui 1130 ATHENA_TESTTARGET = gui
1131 1131
1132 ### neXtaw GUI 1132 ### neXtaw GUI
1133 NEXTAW_LIB = -lneXtaw 1133 NEXTAW_LIB = -lneXtaw
1134 1134
1141 NEXTAW_LIBS_DIR = $(GUI_LIB_LOC) 1141 NEXTAW_LIBS_DIR = $(GUI_LIB_LOC)
1142 NEXTAW_LIBS1 = $(NEXTAW_LIB) 1142 NEXTAW_LIBS1 = $(NEXTAW_LIB)
1143 NEXTAW_LIBS2 = -lXt 1143 NEXTAW_LIBS2 = -lXt
1144 NEXTAW_INSTALL = install_normal 1144 NEXTAW_INSTALL = install_normal
1145 NEXTAW_TARGETS = installglinks 1145 NEXTAW_TARGETS = installglinks
1146 NEXTAW_MAN_TARGETS = installghelplinks 1146 NEXTAW_MAN_TARGETS = yes
1147 NEXTAW_TESTTARGET = gui 1147 NEXTAW_TESTTARGET = gui
1148 1148
1149 ### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld 1149 ### (J) Sun OpenWindows 3.2 (SunOS 4.1.x) or earlier that produce these ld
1150 # errors: ld: Undefined symbol 1150 # errors: ld: Undefined symbol
1151 # _get_wmShellWidgetClass 1151 # _get_wmShellWidgetClass
1165 BEOSGUI_LIBS_DIR = 1165 BEOSGUI_LIBS_DIR =
1166 BEOSGUI_LIBS1 = -lbe -lroot 1166 BEOSGUI_LIBS1 = -lbe -lroot
1167 BEOSGUI_LIBS2 = 1167 BEOSGUI_LIBS2 =
1168 BEOSGUI_INSTALL = install_normal 1168 BEOSGUI_INSTALL = install_normal
1169 BEOSGUI_TARGETS = installglinks 1169 BEOSGUI_TARGETS = installglinks
1170 BEOSGUI_MAN_TARGETS = installghelplinks 1170 BEOSGUI_MAN_TARGETS = yes
1171 BEOSGUI_TESTTARGET = gui 1171 BEOSGUI_TESTTARGET = gui
1172 1172
1173 # PHOTON GUI 1173 # PHOTON GUI
1174 PHOTONGUI_SRC = gui.c gui_photon.c pty.c 1174 PHOTONGUI_SRC = gui.c gui_photon.c pty.c
1175 PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o objects/pty.o 1175 PHOTONGUI_OBJ = objects/gui.o objects/gui_photon.o objects/pty.o
1178 PHOTONGUI_LIBS_DIR = 1178 PHOTONGUI_LIBS_DIR =
1179 PHOTONGUI_LIBS1 = -lph -lphexlib 1179 PHOTONGUI_LIBS1 = -lph -lphexlib
1180 PHOTONGUI_LIBS2 = 1180 PHOTONGUI_LIBS2 =
1181 PHOTONGUI_INSTALL = install_normal 1181 PHOTONGUI_INSTALL = install_normal
1182 PHOTONGUI_TARGETS = installglinks 1182 PHOTONGUI_TARGETS = installglinks
1183 PHOTONGUI_MAN_TARGETS = installghelplinks 1183 PHOTONGUI_MAN_TARGETS = yes
1184 PHOTONGUI_TESTTARGET = gui 1184 PHOTONGUI_TESTTARGET = gui
1185 1185
1186 # CARBON GUI 1186 # CARBON GUI
1187 CARBONGUI_SRC = gui.c gui_mac.c 1187 CARBONGUI_SRC = gui.c gui_mac.c
1188 CARBONGUI_OBJ = objects/gui.o objects/gui_mac.o objects/pty.o 1188 CARBONGUI_OBJ = objects/gui.o objects/gui_mac.o objects/pty.o
1275 DEST_MACRO = $(DESTDIR)$(MACROSUBLOC) 1275 DEST_MACRO = $(DESTDIR)$(MACROSUBLOC)
1276 DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC) 1276 DEST_TOOLS = $(DESTDIR)$(TOOLSSUBLOC)
1277 DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC) 1277 DEST_TUTOR = $(DESTDIR)$(TUTORSUBLOC)
1278 DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC) 1278 DEST_SCRIPT = $(DESTDIR)$(SCRIPTLOC)
1279 DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC) 1279 DEST_PRINT = $(DESTDIR)$(PRINTSUBLOC)
1280 DEST_MAN = $(DESTDIR)$(MANSUBDIR) 1280 DEST_MAN_TOP = $(DESTDIR)$(MANDIR)
1281 DEST_MAN = $(DEST_MAN_TOP)$(MAN1DIR)
1282 DEST_MAN_IT = $(DEST_MAN_TOP)/it$(MAN1DIR)
1281 1283
1282 # BASIC_SRC: files that are always used 1284 # BASIC_SRC: files that are always used
1283 # GUI_SRC: extra GUI files for current configuration 1285 # GUI_SRC: extra GUI files for current configuration
1284 # ALL_GUI_SRC: all GUI files for Unix 1286 # ALL_GUI_SRC: all GUI files for Unix
1285 # 1287 #
1659 # 1661 #
1660 install: $(GUI_INSTALL) 1662 install: $(GUI_INSTALL)
1661 1663
1662 install_normal: installvim installtools install-languages install-icons 1664 install_normal: installvim installtools install-languages install-icons
1663 1665
1664 installvim: installvimbin installruntime installlinks installhelplinks installmacros installtutor 1666 installvim: installvimbin installruntime installlinks installmanlinks installmacros installtutor
1665 1667
1666 installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN) 1668 installvimbin: $(VIMTARGET) $(DESTDIR)$(exec_prefix) $(DEST_BIN)
1667 -if test -f $(DEST_BIN)/$(VIMTARGET); then \ 1669 -if test -f $(DEST_BIN)/$(VIMTARGET); then \
1668 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \ 1670 mv -f $(DEST_BIN)/$(VIMTARGET) $(DEST_BIN)/$(VIMNAME).rm; \
1669 rm -f $(DEST_BIN)/$(VIMNAME).rm; \ 1671 rm -f $(DEST_BIN)/$(VIMNAME).rm; \
1672 $(STRIP) $(DEST_BIN)/$(VIMTARGET) 1674 $(STRIP) $(DEST_BIN)/$(VIMTARGET)
1673 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET) 1675 chmod $(BINMOD) $(DEST_BIN)/$(VIMTARGET)
1674 # may create a link to the new executable from /usr/bin/vi 1676 # may create a link to the new executable from /usr/bin/vi
1675 -$(LINKIT) 1677 -$(LINKIT)
1676 1678
1677 # install the help files; first adjust the contents for the location 1679 # Long list of arguments for the shell script that installs the manual pages
1678 installruntime: $(HELPSOURCE)/vim.1 $(DEST_MAN) $(DEST_VIM) $(DEST_RT) \ 1680 # for one language.
1681 INSTALLMANARGS = $(VIMLOC) $(SCRIPTLOC) $(VIMRCLOC) $(HELPSOURCE) $(MANMOD) \
1682 $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME)
1683
1684 # install the help files; first adjust the contents for the final location
1685 installruntime: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(DEST_RT) \
1679 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \ 1686 $(DEST_HELP) $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) \
1680 $(DEST_FTP) $(DEST_PLUG) $(DEST_TUTOR) $(DEST_COMP) 1687 $(DEST_FTP) $(DEST_PLUG) $(DEST_TUTOR) $(DEST_COMP)
1681 @echo generating $(DEST_MAN)/$(VIMNAME).1 1688 -$(SHELL) ./installman.sh install $(DEST_MAN) "" $(INSTALLMANARGS)
1682 @sed -e s+/usr/local/lib/vim+$(VIMLOC)+ \
1683 -e s+$(VIMLOC)/doc+$(HELPSUBLOC)+ \
1684 -e s+$(VIMLOC)/syntax+$(SYNSUBLOC)+ \
1685 -e s+$(VIMLOC)/tutor+$(TUTORSUBLOC)+ \
1686 -e s+$(VIMLOC)/vimrc+$(VIMRCLOC)/vimrc+ \
1687 -e s+$(VIMLOC)/gvimrc+$(VIMRCLOC)/gvimrc+ \
1688 -e s+$(VIMLOC)/menu.vim+$(SCRIPTLOC)/menu.vim+ \
1689 -e s+$(VIMLOC)/bugreport.vim+$(SCRIPTLOC)/bugreport.vim+ \
1690 -e s+$(VIMLOC)/filetype.vim+$(SCRIPTLOC)/filetype.vim+ \
1691 -e s+$(VIMLOC)/ftoff.vim+$(SCRIPTLOC)/ftoff.vim+ \
1692 -e s+$(VIMLOC)/scripts.vim+$(SCRIPTLOC)/scripts.vim+ \
1693 -e s+$(VIMLOC)/optwin.vim+$(SCRIPTLOC)/optwin.vim+ \
1694 -e 's+$(VIMLOC)/\*.ps+$(SCRIPTLOC)/\*.ps+' \
1695 $(HELPSOURCE)/vim.1 > $(DEST_MAN)/$(VIMNAME).1
1696 chmod $(MANMOD) $(DEST_MAN)/$(VIMNAME).1
1697 @echo generating $(DEST_MAN)/$(VIMNAME)tutor.1
1698 @sed -e s+/usr/local/lib/vim+$(VIMLOC)+ \
1699 -e s+$(VIMLOC)/tutor+$(TUTORSUBLOC)+ \
1700 $(HELPSOURCE)/vimtutor.1 > $(DEST_MAN)/$(VIMNAME)tutor.1
1701 chmod $(MANMOD) $(DEST_MAN)/$(VIMNAME)tutor.1
1702 $(INSTALL_DATA) $(HELPSOURCE)/vimdiff.1 $(DEST_MAN)/$(VIMDIFFNAME).1
1703 chmod $(MANMOD) $(DEST_MAN)/$(VIMDIFFNAME).1
1704 @echo generating $(DEST_MAN)/$(EVIMNAME).1
1705 @sed -e s+/usr/local/lib/vim+$(SCRIPTLOC)+ \
1706 $(HELPSOURCE)/evim.1 > $(DEST_MAN)/$(EVIMNAME).1
1707 chmod $(MANMOD) $(DEST_MAN)/$(EVIMNAME).1
1708 @echo generating help tags 1689 @echo generating help tags
1709 # Generate the help tags with ":helptags" to handle all languages. 1690 # Generate the help tags with ":helptags" to handle all languages.
1710 -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags 1691 -@cd $(HELPSOURCE); $(MAKE) VIMEXE=$(DEST_BIN)/$(VIMTARGET) vimtags
1711 cd $(HELPSOURCE); \ 1692 cd $(HELPSOURCE); \
1712 files=`ls *.txt tags`; \ 1693 files=`ls *.txt tags`; \
1792 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor 1773 chmod $(SCRIPTMOD) $(DEST_BIN)/$(VIMNAME)tutor
1793 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR) 1774 -$(INSTALL_DATA) $(TUTORSOURCE)/README* $(TUTORSOURCE)/tutor* $(DEST_TUTOR)
1794 chmod $(HELPMOD) $(DEST_TUTOR)/* 1775 chmod $(HELPMOD) $(DEST_TUTOR)/*
1795 1776
1796 # install helper program xxd 1777 # install helper program xxd
1797 installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) $(DEST_MAN) \ 1778 installtools: $(TOOLS) $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
1798 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS) 1779 $(TOOLSSOURCE) $(DEST_VIM) $(DEST_RT) $(DEST_TOOLS)
1799 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \ 1780 if test -f $(DEST_BIN)/xxd$(EXEEXT); then \
1800 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \ 1781 mv -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_BIN)/xxd.rm; \
1801 rm -f $(DEST_BIN)/xxd.rm; \ 1782 rm -f $(DEST_BIN)/xxd.rm; \
1802 fi 1783 fi
1803 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN) 1784 $(INSTALL_PROG) xxd/xxd$(EXEEXT) $(DEST_BIN)
1804 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT) 1785 $(STRIP) $(DEST_BIN)/xxd$(EXEEXT)
1805 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT) 1786 chmod $(BINMOD) $(DEST_BIN)/xxd$(EXEEXT)
1806 $(INSTALL_DATA) $(HELPSOURCE)/xxd.1 $(DEST_MAN) 1787 -$(SHELL) ./installman.sh xxd $(DEST_MAN) "" $(INSTALLMANARGS)
1807 chmod $(MANMOD) $(DEST_MAN)/xxd.1 1788 -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
1808 # install the runtime tools 1789 # install the runtime tools
1809 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS) 1790 $(INSTALL_DATA_R) $(TOOLSSOURCE)/* $(DEST_TOOLS)
1810 # When using CVS some CVS directories might have been copied. 1791 # When using CVS some CVS directories might have been copied.
1811 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \ 1792 cvs=`find $(DEST_TOOLS) \( -name CVS -o -name AAPDIR \) -print`; \
1812 if test -n "$$cvs"; then \ 1793 if test -n "$$cvs"; then \
1820 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi 1801 awkpath=`./which.sh awk` && sed -e "s+/usr/bin/nawk+$$awkpath+" $(TOOLSSOURCE)/mve.awk >$(DEST_TOOLS)/mve.awk; fi; fi
1821 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*` 1802 -chmod $(SCRIPTMOD) `grep -l "^#!" $(DEST_TOOLS)/*`
1822 1803
1823 # install the language specific files, if they were unpacked 1804 # install the language specific files, if they were unpacked
1824 install-languages: languages $(DEST_LANG) $(DEST_KMAP) 1805 install-languages: languages $(DEST_LANG) $(DEST_KMAP)
1806 -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
1807 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1808 $(DEST_MAN_IT) $(INSTALLMLARGS)
1825 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \ 1809 if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
1826 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \ 1810 cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
1827 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \ 1811 INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
1828 fi 1812 fi
1829 if test -d $(LANGSOURCE); then \ 1813 if test -d $(LANGSOURCE); then \
1875 $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE): 1859 $(HELPSOURCE)/vim.1 $(MACROSOURCE) $(TOOLSSOURCE):
1876 @echo Runtime files not found. 1860 @echo Runtime files not found.
1877 @echo You need to unpack the runtime archive before running "make install". 1861 @echo You need to unpack the runtime archive before running "make install".
1878 test -f error 1862 test -f error
1879 1863
1880 $(DESTDIR)$(exec_prefix) $(DEST_BIN) $(DEST_MAN) $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \ 1864 $(DESTDIR)$(exec_prefix) $(DEST_BIN) \
1865 $(DEST_VIM) $(DEST_RT) $(DEST_HELP) \
1881 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \ 1866 $(DEST_PRINT) $(DEST_COL) $(DEST_SYN) $(DEST_IND) $(DEST_FTP) \
1882 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \ 1867 $(DEST_LANG) $(DEST_KMAP) $(DEST_COMP) \
1883 $(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_PLUG): 1868 $(DEST_MACRO) $(DEST_TOOLS) $(DEST_TUTOR) $(DEST_PLUG):
1884 -$(SHELL) ./mkinstalldirs $@ 1869 -$(SHELL) ./mkinstalldirs $@
1885 -chmod $(DIRMOD) $@ 1870 -chmod $(DIRMOD) $@
1940 $(DEST_BIN)/$(EVIEWTARGET): 1925 $(DEST_BIN)/$(EVIEWTARGET):
1941 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET) 1926 cd $(DEST_BIN); ln -s $(VIMTARGET) $(EVIEWTARGET)
1942 1927
1943 # create links for the manual pages with various names to vim. This is only 1928 # create links for the manual pages with various names to vim. This is only
1944 # done when the links (or manpages with the same name) don't exist yet. 1929 # done when the links (or manpages with the same name) don't exist yet.
1945 installhelplinks: $(GUI_MAN_TARGETS) \ 1930
1946 $(DEST_MAN)/$(EXNAME).1 \ 1931 INSTALLMLARGS = $(VIMNAME) $(VIMDIFFNAME) $(EVIMNAME) \
1947 $(DEST_MAN)/$(VIEWNAME).1 \ 1932 $(EXNAME) $(VIEWNAME) $(RVIMNAME) $(RVIEWNAME) \
1948 $(DEST_MAN)/$(RVIMNAME).1 \ 1933 $(GVIMNAME) $(GVIEWNAME) $(RGVIMNAME) $(RGVIEWNAME) \
1949 $(DEST_MAN)/$(RVIEWNAME).1 1934 $(GVIMDIFFNAME) $(EVIEWNAME)
1950 1935
1951 installghelplinks: $(DEST_MAN)/$(GVIMNAME).1 \ 1936 installmanlinks:
1952 $(DEST_MAN)/$(GVIEWNAME).1 \ 1937 -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
1953 $(DEST_MAN)/$(RGVIMNAME).1 \ 1938 $(DEST_MAN) $(INSTALLMLARGS)
1954 $(DEST_MAN)/$(RGVIEWNAME).1 \
1955 $(DEST_MAN)/$(GVIMDIFFNAME).1 \
1956 $(DEST_MAN)/$(EVIEWNAME).1
1957
1958 $(DEST_MAN)/$(EXNAME).1:
1959 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(EXNAME).1
1960
1961 $(DEST_MAN)/$(VIEWNAME).1:
1962 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(VIEWNAME).1
1963
1964 $(DEST_MAN)/$(GVIMNAME).1:
1965 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(GVIMNAME).1
1966
1967 $(DEST_MAN)/$(GVIEWNAME).1:
1968 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(GVIEWNAME).1
1969
1970 $(DEST_MAN)/$(RVIMNAME).1:
1971 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(RVIMNAME).1
1972
1973 $(DEST_MAN)/$(RVIEWNAME).1:
1974 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(RVIEWNAME).1
1975
1976 $(DEST_MAN)/$(RGVIMNAME).1:
1977 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(RGVIMNAME).1
1978
1979 $(DEST_MAN)/$(RGVIEWNAME).1:
1980 cd $(DEST_MAN); ln -s $(VIMNAME).1 $(RGVIEWNAME).1
1981
1982 $(DEST_MAN)/$(GVIMDIFFNAME).1:
1983 cd $(DEST_MAN); ln -s $(VIMDIFFNAME).1 $(GVIMDIFFNAME).1
1984
1985 $(DEST_MAN)/$(EVIEWNAME).1:
1986 cd $(DEST_MAN); ln -s $(EVIMNAME).1 $(EVIEWNAME).1
1987 1939
1988 uninstall: uninstall_runtime 1940 uninstall: uninstall_runtime
1989 -rm -f $(DEST_BIN)/$(VIMTARGET) 1941 -rm -f $(DEST_BIN)/$(VIMTARGET)
1990 -rm -f $(DEST_MAN)/$(VIMNAME).1 $(DEST_MAN)/$(VIMNAME)tutor.1
1991 -rm -f $(DEST_BIN)/vimtutor 1942 -rm -f $(DEST_BIN)/vimtutor
1992 -rm -f $(DEST_BIN)/xxd$(EXEEXT) $(DEST_MAN)/xxd.1
1993 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET) 1943 -rm -f $(DEST_BIN)/$(EXTARGET) $(DEST_BIN)/$(VIEWTARGET)
1994 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET) 1944 -rm -f $(DEST_BIN)/$(GVIMTARGET) $(DEST_BIN)/$(GVIEWTARGET)
1995 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET) 1945 -rm -f $(DEST_BIN)/$(RVIMTARGET) $(DEST_BIN)/$(RVIEWTARGET)
1996 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET) 1946 -rm -f $(DEST_BIN)/$(RGVIMTARGET) $(DEST_BIN)/$(RGVIEWTARGET)
1997 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET) 1947 -rm -f $(DEST_BIN)/$(VIMDIFFTARGET) $(DEST_BIN)/$(GVIMDIFFTARGET)
1998 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET) 1948 -rm -f $(DEST_BIN)/$(EVIMTARGET) $(DEST_BIN)/$(EVIEWTARGET)
1999 -rm -f $(DEST_MAN)/$(EXNAME).1 $(DEST_MAN)/$(VIEWNAME).1 1949 -rm -f $(DEST_BIN)/xxd$(EXEEXT)
2000 -rm -f $(DEST_MAN)/$(GVIMNAME).1 $(DEST_MAN)/$(GVIEWNAME).1
2001 -rm -f $(DEST_MAN)/$(RVIMNAME).1 $(DEST_MAN)/$(RVIEWNAME).1
2002 -rm -f $(DEST_MAN)/$(RGVIMNAME).1 $(DEST_MAN)/$(RGVIEWNAME).1
2003 -rm -f $(DEST_MAN)/$(VIMDIFFNAME).1 $(DEST_MAN)/$(GVIMDIFFNAME).1
2004 -rm -f $(DEST_MAN)/$(EVIMNAME).1 $(DEST_MAN)/$(EVIEWNAME).1
2005 1950
2006 # Note: the "rmdir" will fail if any files were added after "make install" 1951 # Note: the "rmdir" will fail if any files were added after "make install"
2007 uninstall_runtime: 1952 uninstall_runtime:
1953 -$(SHELL) ./installman.sh uninstall $(DEST_MAN) "" $(INSTALLMANARGS)
1954 -$(SHELL) ./installman.sh uninstall $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
1955 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
1956 $(DEST_MAN) $(INSTALLMLARGS)
1957 -$(SHELL) ./installml.sh uninstall "$(GUI_MAN_TARGETS)" \
1958 $(DEST_MAN_IT) $(INSTALLMLARGS)
1959 -rm -f $(DEST_MAN)/xxd.1 $(DEST_MAN_IT)/xxd.1
2008 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl 1960 -rm -f $(DEST_HELP)/*.txt $(DEST_HELP)/tags $(DEST_HELP)/*.pl
2009 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-?? 1961 -rm -f $(DEST_HELP)/*.??x $(DEST_HELP)/tags-??
2010 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE) 1962 -rm -f $(SYS_MENU_FILE) $(SYS_SYNMENU_FILE) $(SYS_DELMENU_FILE)
2011 -rm -f $(SYS_BUGR_FILE) $(EVIM_FILE) $(MSWIN_FILE) 1963 -rm -f $(SYS_BUGR_FILE) $(EVIM_FILE) $(MSWIN_FILE)
2012 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim 1964 -rm -f $(DEST_SCRIPT)/gvimrc_example.vim $(DEST_SCRIPT)/vimrc_example.vim