mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-27 03:53:59 +08:00
man/: Support compiling in build directory
Having a dedicated build directory breaks manual page creation. Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
This commit is contained in:
parent
ddbd3a36c1
commit
8b8793920e
@ -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
|
||||
|
@ -17,7 +17,7 @@ login.defs.d:
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user