Mercurial > vim
comparison src/po/Makefile @ 16503:17f5563d1285 v8.1.1255
patch 8.1.1255: building desktop files fails on FreeBSD
commit https://github.com/vim/vim/commit/12e91862c14a1af44b537d478e8a5021893044fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 3 21:20:03 2019 +0200
patch 8.1.1255: building desktop files fails on FreeBSD
Problem: Building desktop files fails on FreeBSD. (Adam Weinberger)
Solution: Avoid using non-portable construct in Makefile. (closes https://github.com/vim/vim/issues/4332)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 03 May 2019 21:30:05 +0200 |
parents | a474f2cd3448 |
children | 86e69ed040e3 |
comparison
equal
deleted
inserted
replaced
16502:1a046ff2f5fb | 16503:17f5563d1285 |
---|---|
163 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 \ | 163 --add-comments --keyword=_ --keyword=N_ --keyword=NGETTEXT:1,2 \ |
164 *.c if_perl.xs GvimExt/gvimext.cpp globals.h if_py_both.h vim.h \ | 164 *.c if_perl.xs GvimExt/gvimext.cpp globals.h if_py_both.h vim.h \ |
165 po/gvim.desktop.in po/vim.desktop.in | 165 po/gvim.desktop.in po/vim.desktop.in |
166 mv -f ../$(PACKAGE).po $(PACKAGE).pot | 166 mv -f ../$(PACKAGE).po $(PACKAGE).pot |
167 | 167 |
168 %.desktop: %.desktop.in $(POFILES) | 168 vim.desktop: vim.desktop.in $(POFILES) |
169 @echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS | 169 @echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS |
170 $(MSGFMT) --desktop -d . --template $< -o $@ | 170 $(MSGFMT) --desktop -d . --template vim.desktop.in -o vim.desktop |
171 | |
172 gvim.desktop: gvim.desktop.in $(POFILES) | |
173 @echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS | |
174 $(MSGFMT) --desktop -d . --template gvim.desktop.in -o gvim.desktop | |
171 | 175 |
172 update-po: $(LANGUAGES) | 176 update-po: $(LANGUAGES) |
173 | 177 |
174 # Don't add a dependency here, we only want to update the .po files manually | 178 # Don't add a dependency here, we only want to update the .po files manually |
175 $(LANGUAGES): | 179 $(LANGUAGES): |