From 3bd9f22986b0ee7a1d1ca8c3bdaad653ad8399ee Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Mon, 8 Mar 2004 19:53:12 +0000 Subject: [PATCH] filled it with content... git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1163 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/doc/Makefile-files | 54 +++++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 13 deletions(-) diff --git a/util-vserver/doc/Makefile-files b/util-vserver/doc/Makefile-files index d0a9037..2537884 100644 --- a/util-vserver/doc/Makefile-files +++ b/util-vserver/doc/Makefile-files @@ -17,16 +17,44 @@ ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## -doc_DAT = doc/FAQ.txt \ - doc/changelog.txt \ - doc/intro.txt \ - doc/compatibility.html \ - doc/compat-xhtml.xsl \ - doc/compatibility.dtd \ - doc/compatibility.xml \ - doc/configuration.xml - -doc/compatibility.html: STYLESHEET=$(srcdir)/doc/compat-xhtml.xsl -doc/compatibility.html: $(srcdir)/doc/compat-xhtml.xsl -%.html: %.xml $(STYLESHEET) - $(XSLTPROC) -o "$@" "$(STYLESHEET)" "$<" +doc_DAT = doc/FAQ.txt \ + doc/intro.txt + +XSLT_AMFLAGS = --stringparam confdir '$(sysconfdir)/vservers' + +doc_gen_DOCS = doc/configuration.html \ + doc/compatibility.html + +doc_configuration_SRCS = doc/configuration.xml \ + doc/configuration.dtd \ + doc/configuration-lsd.css \ + doc/configuration-xhtml.xsl + +doc_compatibility_SRCS = doc/compatibility.xml \ + doc/compatibility.dtd \ + doc/compatibility-xhtml.xsl + +EXTRA_DIST += $(doc_compatibility_SRCS) \ + $(doc_configuration_SRCS) \ + doc/beautify.xsl + +CLEANFILES += $(doc_gen_DOCS) doc/*.raw.html* + +doc/configuration.html: STYLESHEET=$(srcdir)/doc/configuration-xhtml.xsl +doc/configuration.html: $(srcdir)/doc/configuration-xhtml.xsl + +doc/compatibility.html: STYLESHEET=$(srcdir)/doc/compatibility-xhtml.xsl +doc/compatibility.html: $(srcdir)/doc/compatibility-xhtml.xsl + +doc: doc_doc +doc_doc: $(doc_gen_DOCS) + +%.raw.html: %.xml $(STYLESHEET) + -rm -f '$@.tmp' '$@' + $(XSLTPROC) $(XSLT_FLAGS) $(XSLT_AMFLAGS) -o '$@.tmp' "$(STYLESHEET)" "$<" + mv '$@.tmp' '$@' + +%.html: %.raw.html doc/beautify.xsl + -rm -f '$@.tmp' '$@' + $(XSLTPROC) -o '$@.tmp' doc/beautify.xsl '$<' + mv '$@.tmp' '$@' -- 1.8.1.5