diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-01-11 18:46:01 +0100 |
---|---|---|
committer | Tobias Stoeckmann <tobias@stoeckmann.org> | 2024-01-12 18:01:01 +0100 |
commit | 2b8895da5eed09ff0a45594fbab4541246a61f68 (patch) | |
tree | 6f28d61075b6f05481c3791746211a826856d8fd /Make.xml.rules.in | |
parent | cb9f88ba944d56c0b6c65be18500f7d56c9f514c (diff) | |
download | pam-2b8895da5eed09ff0a45594fbab4541246a61f68.tar.gz pam-2b8895da5eed09ff0a45594fbab4541246a61f68.tar.bz2 pam-2b8895da5eed09ff0a45594fbab4541246a61f68.zip |
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>
Diffstat (limited to 'Make.xml.rules.in')
-rw-r--r-- | Make.xml.rules.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Make.xml.rules.in b/Make.xml.rules.in index 6663bee0..b54df0e9 100644 --- a/Make.xml.rules.in +++ b/Make.xml.rules.in @@ -9,18 +9,18 @@ README: README.xml %.1: %.1.xml $(XMLLINT) --nonet --xinclude --relaxng $(DOCBOOK_RNG) --noout $< - $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_srcdir)/doc/custom-man.xsl $< + $(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 $(srcdir)/$@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_srcdir)/doc/custom-man.xsl $< + $(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 $(srcdir)/$@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_srcdir)/doc/custom-man.xsl $< + $(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 $(srcdir)/$@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_srcdir)/doc/custom-man.xsl $< + $(XSLTPROC) -o $@ --path $(srcdir) --xinclude @STRINGPARAM_VENDORDIR@ @STRINGPARAM_PROFILECONDITIONS@ --nonet $(top_builddir)/doc/custom-man.xsl $< #CLEANFILES += $(man_MANS) README |