mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-28 20:44:48 +08:00
4183905c3a
external entities separately.
14 lines
320 B
Makefile
14 lines
320 B
Makefile
if ENABLE_REGENERATE_MAN
|
|
|
|
LANG=$(notdir $(CURDIR))
|
|
|
|
%.xml: ../%.xml ../po/$(LANG).po
|
|
xml2po --expand-all-entities -l $(LANG) -p ../po/$(LANG).po -o $@ ../$@
|
|
sed -i 's:\(^<refentry .*\)>:\1 lang="$(LANG)">:' $@
|
|
|
|
include ../generate_mans.mak
|
|
|
|
CLEANFILES = .xml2po.mo $(EXTRA_DIST) $(addsuffix .xml,$(EXTRA_DIST))
|
|
|
|
endif
|