linux-pam/Make.xml.rules.in
Tobias Stoeckmann 2b8895da5e treewide: strictly separate builddir and srcdir
Building outside of source directory fails if --disable-doc is not
explicitly chosen.

This happens because generated files are sometimes expected in the
source directory, where they won't exist.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
2024-01-12 18:01:01 +01:00

27 lines
1.2 KiB
Plaintext

#
# Copyright (c) 2006 Thorsten Kukuk <kukuk@thkukuk.de>
#
README: $(XMLS)
README: README.xml
$(XSLTPROC) --path $(srcdir) --xinclude --stringparam generate.toc "none" @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(TXT_STYLESHEET) $< | $(BROWSER) > $(srcdir)/$@
%.1: %.1.xml
$(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noout $<
$(XSLTPROC) -o $@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_builddir)/doc/custom-man.xsl $<
%.3: %.3.xml
$(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noout $<
$(XSLTPROC) -o $@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_builddir)/doc/custom-man.xsl $<
%.5: %.5.xml
$(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noout $<
$(XSLTPROC) -o $@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_builddir)/doc/custom-man.xsl $<
%.8: %.8.xml
$(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noout $<
$(XSLTPROC) -o $@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_builddir)/doc/custom-man.xsl $<
#CLEANFILES += $(man_MANS) README