Ticket #1793: vim-7.0-mandir-1.patch

File vim-7.0-mandir-1.patch, 3.8 KB (added by alexander@…, 18 years ago)

Fixes location of translated manual pages

  • vim70/src/Makefile

    Submitted By: Alexander E. Patrakov
    Date: 2006-05-27
    Initial Package Version: 7.0
    Upstream status: LFS specific
    Description: Adjusts installation of manual pages to meet Man-DB expectations
    
    old new  
    13251325DEST_MAN_PL = $(DEST_MAN_TOP)/pl$(MAN1DIR)
    13261326DEST_MAN_PL_I = $(DEST_MAN_TOP)/pl.ISO8859-2$(MAN1DIR)
    13271327DEST_MAN_PL_U = $(DEST_MAN_TOP)/pl.UTF-8$(MAN1DIR)
    1328 DEST_MAN_RU = $(DEST_MAN_TOP)/ru.KOI8-R$(MAN1DIR)
     1328DEST_MAN_RU = $(DEST_MAN_TOP)/ru$(MAN1DIR)
    13291329DEST_MAN_RU_U = $(DEST_MAN_TOP)/ru.UTF-8$(MAN1DIR)
    13301330
    13311331#            BASIC_SRC: files that are always used
     
    19051905# install the language specific files for tools, if they were unpacked
    19061906install-tool-languages:
    19071907        -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
    1908         -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
    1909         -$(SHELL) ./installman.sh xxd $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
    19101908        -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
    1911         -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
    1912         -$(SHELL) ./installman.sh xxd $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
    19131909        -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL) "-pl" $(INSTALLMANARGS)
    1914         -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL_I) "-pl" $(INSTALLMANARGS)
    1915         -$(SHELL) ./installman.sh xxd $(DEST_MAN_PL_U) "-pl.UTF-8" $(INSTALLMANARGS)
    19161910        -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
    1917         -$(SHELL) ./installman.sh xxd $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
    19181911
    19191912# install the language specific files, if they were unpacked
    19201913install-languages: languages $(DEST_LANG) $(DEST_KMAP)
    19211914        -$(SHELL) ./installman.sh install $(DEST_MAN_FR) "-fr" $(INSTALLMANARGS)
    1922         -$(SHELL) ./installman.sh install $(DEST_MAN_FR_I) "-fr" $(INSTALLMANARGS)
    1923         -$(SHELL) ./installman.sh install $(DEST_MAN_FR_U) "-fr.UTF-8" $(INSTALLMANARGS)
    19241915        -$(SHELL) ./installman.sh install $(DEST_MAN_IT) "-it" $(INSTALLMANARGS)
    1925         -$(SHELL) ./installman.sh install $(DEST_MAN_IT_I) "-it" $(INSTALLMANARGS)
    1926         -$(SHELL) ./installman.sh install $(DEST_MAN_IT_U) "-it.UTF-8" $(INSTALLMANARGS)
    19271916        -$(SHELL) ./installman.sh install $(DEST_MAN_PL) "-pl" $(INSTALLMANARGS)
    1928         -$(SHELL) ./installman.sh install $(DEST_MAN_PL_I) "-pl" $(INSTALLMANARGS)
    1929         -$(SHELL) ./installman.sh install $(DEST_MAN_PL_U) "-pl.UTF-8" $(INSTALLMANARGS)
    19301917        -$(SHELL) ./installman.sh install $(DEST_MAN_RU) "-ru" $(INSTALLMANARGS)
    1931         -$(SHELL) ./installman.sh install $(DEST_MAN_RU_U) "-ru.UTF-8" $(INSTALLMANARGS)
    19321918        -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    19331919                $(DEST_MAN_FR) $(INSTALLMLARGS)
    19341920        -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1935                 $(DEST_MAN_FR_I) $(INSTALLMLARGS)
    1936         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1937                 $(DEST_MAN_FR_U) $(INSTALLMLARGS)
    1938         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    19391921                $(DEST_MAN_IT) $(INSTALLMLARGS)
    19401922        -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1941                 $(DEST_MAN_IT_I) $(INSTALLMLARGS)
    1942         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1943                 $(DEST_MAN_IT_U) $(INSTALLMLARGS)
    1944         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    19451923                $(DEST_MAN_PL) $(INSTALLMLARGS)
    19461924        -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1947                 $(DEST_MAN_PL_I) $(INSTALLMLARGS)
    1948         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1949                 $(DEST_MAN_PL_U) $(INSTALLMLARGS)
    1950         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    19511925                $(DEST_MAN_RU) $(INSTALLMLARGS)
    1952         -$(SHELL) ./installml.sh install "$(GUI_MAN_TARGETS)" \
    1953                 $(DEST_MAN_RU_U) $(INSTALLMLARGS)
    19541926        if test -n "$(MAKEMO)" -a -f $(PODIR)/Makefile; then \
    19551927           cd $(PODIR); $(MAKE) prefix=$(DESTDIR)$(prefix) LOCALEDIR=$(DEST_LANG) \
    19561928           INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \