diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:37 +0000 |
commit | b6b00dd55e035bfbe311a527b567962ffa77ee43 (patch) | |
tree | cafc4d13785448e5a78bd40a51697ee07f07ac12 /man/generate_translations.mak | |
parent | Adding debian version 1:4.13+dfsg1-5. (diff) | |
download | shadow-b6b00dd55e035bfbe311a527b567962ffa77ee43.tar.xz shadow-b6b00dd55e035bfbe311a527b567962ffa77ee43.zip |
Merging upstream version 1:4.15.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/generate_translations.mak')
-rw-r--r-- | man/generate_translations.mak | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man/generate_translations.mak b/man/generate_translations.mak index eb9ac41..4c3beb9 100644 --- a/man/generate_translations.mak +++ b/man/generate_translations.mak @@ -6,10 +6,10 @@ config.xml: ../config.xml.in cp ../config.xml $@ messages.mo: ../po/$(LANG).po - msgfmt ../po/$(LANG).po -o messages.mo + msgfmt $< -o messages.mo login.defs.d: - ln -sf ../login.defs.d login.defs.d + ln -sf $(srcdir)/../login.defs.d login.defs.d %.xml: ../%.xml messages.mo login.defs.d if grep -q SHADOW-CONFIG-HERE $< ; then \ @@ -17,7 +17,7 @@ login.defs.d: else \ sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' $< > $@; \ fi - itstool -d -l $(LANG) -m messages.mo -o . $@ + itstool -i $(srcdir)/../its.rules -d -l $(LANG) -m messages.mo -o . $@ sed -i 's:\(^<refentry .*\)>:\1 lang="$(LANG)">:' $@ include ../generate_mans.mak |