Add --expand-all-entities to the call to xml2po to avoid translating the
external entities separately.
This commit is contained in:
@@ -3,7 +3,7 @@ if ENABLE_REGENERATE_MAN
|
||||
LANG=$(notdir $(CURDIR))
|
||||
|
||||
%.xml: ../%.xml ../po/$(LANG).po
|
||||
xml2po -l $(LANG) -p ../po/$(LANG).po -o $@ ../$@
|
||||
xml2po --expand-all-entities -l $(LANG) -p ../po/$(LANG).po -o $@ ../$@
|
||||
sed -i 's:\(^<refentry .*\)>:\1 lang="$(LANG)">:' $@
|
||||
|
||||
include ../generate_mans.mak
|
||||
|
||||
Reference in New Issue
Block a user