po makefile in 0.8.4 syntactical errors? (fbsd 5.2.1)
Moderator: Forum Moderators
Forum rules
Before reporting issues in this section, you must read the following topic:
Before reporting issues in this section, you must read the following topic:
po makefile in 0.8.4 syntactical errors? (fbsd 5.2.1)
Code: Select all
root@tweek:/home/tweek/wesnoth-0.8.4# cd po
root@tweek:/home/tweek/wesnoth-0.8.4/po# make
"Makefile", line 199: Missing dependency operator
"Makefile", line 204: Need an operator
make: fatal errors encountered -- cannot continue
here are the relevant lines:
Code: Select all
# This rule catch requests to rebuild po files whenever any pot file
# is more recent even if that pot file is not related, but only
# extract the textdomain, and use a recursive make call that will have
# stricter deps and will use lang as a rule stem
ifneq ($(NOGENERIC),1) // 199
%.po: *.pot
@domain=`basename $@ | sed s,\.po,,`; \
echo " make DOMAIN=$$domain NOGENERIC=1 $@"; \
$(MAKE) DOMAIN=$$domain NOGENERIC=1 $@
endif // 204

It is possible that, while striving to get things work, I introduced gnu-isms in the Makefile. We may try to make things more portable, but I've learnt that the upcoming gettext 0.15 will provide support for multiple domains, but in a different way. So we might as well switch to this instead.
gettextization
french l10n team member
french l10n team member