mirror of
https://github.com/linux-pam/linux-pam.git
synced 2024-11-27 19:53:37 +08:00
2b8895da5e
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>
27 lines
1.2 KiB
Plaintext
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
|