File: Makefile.am

package info (click to toggle)
flatpak-builder 1.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,580 kB
  • sloc: ansic: 23,288; sh: 5,793; xml: 1,718; makefile: 114; python: 6
file content (62 lines) | stat: -rw-r--r-- 1,324 bytes parent folder | download | duplicates (4)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
NULL =

XSLTPROC_FLAGS = \
	--nonet						\
	--stringparam man.output.quietly 1		\
	--stringparam funcsynopsis.style ansi		\
	--stringparam man.th.extra1.suppress 1		\
	--stringparam man.authors.section.enabled 0	\
	--stringparam man.copyright.section.enabled 0	\
	$(NULL)

.xml.1:
	$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

.xml.5:
	$(AM_V_GEN) $(XSLTPROC) $(XSLTPROC_FLAGS) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

man1 = \
	flatpak-builder.1		\
	$(NULL)

man5 = \
	flatpak-manifest.5		\
	$(NULL)

man_MANS = \
	$(man1) \
	$(man5) \
	$(NULL)

xml_files = \
	$(man1:.1=.xml) \
	$(man5:.5=.xml) \
	$(NULL)

EXTRA_DIST = \
	$(xml_files) 		\
	docbook.css		\
	flatpak-builder-docs.xml.in	\
	xmlto-config.xsl	\
	$(NULL)

CLEANFILES = $(NULL)
DISTCLEANFILES = \
	$(man_MANS)		\
	flatpak-builder-docs.xml	\
	$(NULL)

if DOCBOOK_DOCS_ENABLED

doc_DATA =                      \
        flatpak-builder-docs.html	\
        docbook.css             \
        $(NULL)

CLEANFILES += flatpak-builder-docs.html

flatpak-builder-docs.html: flatpak-builder-docs.xml $(xml_files) xmlto-config.xsl
	$(AM_V_GEN) $(XMLTO) $(XMLTO_FLAGS) --skip-validation xhtml-nochunks -m $(srcdir)/xmlto-config.xsl $<

endif # DOCBOOK_DOCS_ENABLED