root/alternc/trunk/bureau/locales/Makefile

Revision 1635, 343 bytes (checked in by anarcat, 3 years ago)

don't touch pot file if it exists

Line 
1 all: messages.pot */LC_MESSAGES/messages.po */LC_MESSAGES/manual.po
2
3
4 messages.pot: ../*/*.php
5         [ -r $@ ] || touch $@
6         xgettext --force-po --omit-header -o $@ --keyword=__ --keyword=_  -L PHP --from-code iso-8859-1 -j $^
7
8 %/LC_MESSAGES/messages.po: messages.pot
9         msgmerge -v -U $@ $^
10
11 %/LC_MESSAGES/manual.po: manual.pot
12         msgmerge -v -U $@ $^
Note: See TracBrowser for help on using the browser.