diff --git a/man/generate_mans.mak b/man/generate_mans.mak index 7d191dcb..4d0d268e 100644 --- a/man/generate_mans.mak +++ b/man/generate_mans.mak @@ -56,7 +56,7 @@ man1/% man3/% man5/% man8/%: %.xml-config Makefile config.xml --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 diff --git a/man/generate_translations.mak b/man/generate_translations.mak index b6a5d2f7..4c3beb9a 100644 --- a/man/generate_translations.mak +++ b/man/generate_translations.mak @@ -17,7 +17,7 @@ login.defs.d: else \ sed -e 's/^\(/\1 [%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:\(^:\1 lang="$(LANG)">:' $@ include ../generate_mans.mak