1 # Author: Scott Smedley
5 docdir = @FVWM_DOCDIR@/modules
8 XSL_FILE = $(srcdir)/../fvwm.xsl
9 XSL_MAN_FILE = $(srcdir)/../fvwm-man.xsl
10 XSL_PROFILE = $(srcdir)/../docbook-xsl/profiling/profile.xsl
13 FvwmAnimate FvwmAuto FvwmBacker FvwmBanner FvwmButtons FvwmCommand \
14 FvwmConsole FvwmCpp FvwmDebug FvwmDragWell FvwmEvent FvwmForm \
15 FvwmGtk FvwmIconBox FvwmIconMan FvwmIdent FvwmM4 FvwmPager FvwmPerl \
16 FvwmProxy FvwmRearrange FvwmSave FvwmSaveDesk FvwmScript FvwmScroll \
17 FvwmTabs FvwmTaskBar FvwmTheme FvwmWharf FvwmWindowMenu FvwmWinList
18 MODULES_XML = FvwmTabs.xml
19 HTML_FILES = @DOC_MODULES_HTML@ todo.html
20 XML_FILES = $(MODULES_XML) todo.xml
21 EXTRA_DIST = $(XML_FILES)
24 doc_DATA = $(HTML_FILES) FvwmTabs.html
28 rm -f $(HTML_FILES) FvwmTabs.html
30 distclean-local: clean
32 FvwmTabs.html: $(srcdir)/FvwmTabs.xml $(top_builddir)/doc/fvwm.ent $(srcdir)/../header.html $(srcdir)/../style.css
33 $(XSLTPROC) --path "$(top_builddir)/doc" --xinclude \
34 --stringparam profile.attribute output \
35 --stringparam profile.value html \
37 $(XSL_PROFILE) "$(srcdir)/FvwmTabs.xml"
38 $(XSLTPROC) --path "$(top_builddir)/doc" --xinclude \
39 --stringparam html.stylesheet "$(srcdir)/../style.css" \
40 --stringparam section.autolabel 1 \
41 --stringparam header.file "$(srcdir)/../header.html" \
42 -o $@ $(XSL_FILE) FvwmTabs.xml.p && rm FvwmTabs.xml.p
44 FvwmTabs.1: $(srcdir)/FvwmTabs.xml $(XSL_MAN_FILE)
45 $(XSLTPROC) --path "$(top_builddir)/doc" --xinclude \
46 --stringparam profile.attribute output \
47 --stringparam profile.value man \
49 $(XSL_PROFILE) "$(srcdir)/FvwmTabs.xml"
50 $(XSLTPROC) --path "$(top_builddir)/doc" --xinclude \
51 $(XSL_MAN_FILE) FvwmTabs.xml.p && rm FvwmTabs.xml.p
53 # All HTML output is generated from XML files.
54 # %.html : $(srcdir)/%.xml
55 $(HTML_FILES): $(srcdir)/todo.xml $(srcdir)/../style.css
56 $(XSLTPROC) --path "$(top_builddir)/doc" --xinclude --stringparam \
57 html.stylesheet "$(srcdir)/../style.css" -o $@ $(XSL_FILE) $<