comparison src/po/Makefile @ 16473:a474f2cd3448 v8.1.1240

patch 8.1.1240: runtime desktop files are overwritten by build commit https://github.com/vim/vim/commit/d96dbd6f95ea22f609042cc9c6272f14a21ff1a5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 30 21:27:34 2019 +0200 patch 8.1.1240: runtime desktop files are overwritten by build Problem: Runtime desktop files are overwritten by build. (Tony Mechelynck) Solution: Instead of copying the files find them with "make install".
author Bram Moolenaar <Bram@vim.org>
date Tue, 30 Apr 2019 21:30:06 +0200
parents 405c5cbf8051
children 17f5563d1285
comparison
equal deleted inserted replaced
16472:4f8d09a2f7d9 16473:a474f2cd3448
166 mv -f ../$(PACKAGE).po $(PACKAGE).pot 166 mv -f ../$(PACKAGE).po $(PACKAGE).pot
167 167
168 %.desktop: %.desktop.in $(POFILES) 168 %.desktop: %.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 $< -o $@
171 cp -f $@ ../../runtime/$@
172 171
173 update-po: $(LANGUAGES) 172 update-po: $(LANGUAGES)
174 173
175 # Don't add a dependency here, we only want to update the .po files manually 174 # Don't add a dependency here, we only want to update the .po files manually
176 $(LANGUAGES): 175 $(LANGUAGES):