File: Makefile.am

package info (click to toggle)
fvwm 1%3A2.7.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 15,968 kB
  • sloc: ansic: 145,836; xml: 17,096; perl: 7,237; sh: 5,100; makefile: 1,101; yacc: 688; lex: 187; sed: 11
file content (29 lines) | stat: -rwxr-xr-x 898 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
docdir = @FVWM_DOCDIR@/commands
XSLTPROC = @XSLTPROC@

XSL_FILE = $(srcdir)/../fvwm.xsl
XSL_PROFILE = $(srcdir)/../docbook-xsl/profiling/profile.xsl

EXTRA_DIST = @DOC_COMMANDS_XML@ WindowsDesk.xml

if FVWM_BUILD_HTMLDOC
doc_DATA = @DOC_COMMANDS_HTML@ WindowsDesk.html
all: @DOC_COMMANDS_HTML@  WindowsDesk.html
endif

clean:
	rm -f @DOC_COMMANDS_HTML@ WindowsDesk.html

distclean-local: clean

# All HTML output is generated from XML files.
%.html : $(srcdir)/%.xml $(srcdir)/../header.html $(srcdir)/../style.css
	$(XSLTPROC) --path "$(top_builddir)/doc" --xinclude \
		--stringparam profile.attribute output \
		--stringparam profile.value html \
		-o $(<F).p \
		$(XSL_PROFILE) $<
	$(XSLTPROC) --path "$(top_builddir)/doc" --xinclude \
		--stringparam html.stylesheet "$(srcdir)/../style.css" \
		--stringparam header.file "$(srcdir)/../header.html" \
		-o $@ $(XSL_FILE) $(<F).p && rm $(<F).p