AppStream: fix target order
Ahh, right, thankyou make, for reminding me that 'all' isn't actually any automagically chosen target that is chosen when no target has been specified. No, instead, the first target is chosen. And not just any target! Only the first non-templated target is chosen, so in this case: po/telegram-purple.metainfo.xml.pot . However, in our case that's utterly pointless, so 'all' needs to be on top again. I should have known there was an important reason.
This commit is contained in:
parent
2ffa9e176a
commit
42c9ea8a3a
1 changed files with 2 additions and 2 deletions
|
@ -24,6 +24,8 @@ LOCALE_MOS=$(addprefix po/,$(addsuffix .mo,$(LOCALES)))
|
|||
# which are expected to have msgfmt on their $PATH
|
||||
MSGFMT_PATH=msgfmt
|
||||
|
||||
all: translate
|
||||
|
||||
po/%.mo: po/%.po
|
||||
${MSGFMT_PATH} -cf -o $@ $<
|
||||
|
||||
|
@ -41,5 +43,3 @@ potfile: po/telegram-purple.metainfo.xml.pot
|
|||
|
||||
.PHONY: translate
|
||||
translate: telegram-purple.metainfo.xml
|
||||
|
||||
all: translate
|
||||
|
|
Loading…
Add table
Reference in a new issue