Having a dedicated build directory breaks manual page creation.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
--stringparam vendordir "$(VENDORDIR)" \
--param "man.output.in.separate.dir" "1" \
--path "$(srcdir)/login.defs.d" \
- -nonet $(top_builddir)/man/shadow-man.xsl $<
+ -nonet $(top_srcdir)/man/shadow-man.xsl $<
clean-local:
rm -rf man1 man3 man5 man8
else \
sed -e 's/^\(<!DOCTYPE .*docbookx.dtd"\)>/\1 [<!ENTITY % config SYSTEM "config.xml">%config;]>/' $< > $@; \
fi
- itstool -i ../its.rules -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