summaryrefslogtreecommitdiffstats
path: root/man/generate_translations.mak
diff options
context:
space:
mode:
Diffstat (limited to 'man/generate_translations.mak')
-rw-r--r--man/generate_translations.mak6
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