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:
Ben Wiederhake 2017-03-13 23:35:59 +01:00
parent 2ffa9e176a
commit 42c9ea8a3a

View file

@ -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