File: Makefile.am

package info (click to toggle)
udisks2 2.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 23,612 kB
  • sloc: ansic: 49,035; python: 8,537; sh: 5,574; xml: 1,490; makefile: 1,232; sed: 85
file content (72 lines) | stat: -rw-r--r-- 2,969 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
63
64
65
66
67
68
69
70
71
72

NULL =

man_MANS =

if ENABLE_MAN
man_MANS +=                                                                    \
	udisksctl.1                                                            \
	$(NULL)

if ENABLE_DAEMON
man_MANS +=                                                                    \
	udisksd.8                                                              \
	udisks.8                                                               \
	umount.udisks2.8                                                       \
	udisks2.conf.5                                                         \
	$(NULL)
endif # ENABLE_DAEMON

if HAVE_LSM
man_MANS += udisks2_lsm.conf.5
endif # HAVE_LSM
endif # ENABLE_MAN

udisksctl.1 : udisksctl.xml
	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

udisks.8 : udisks.xml
	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

udisksd.8 : udisksd.xml
	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

umount.udisks2.8 : umount.udisks2.xml
	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

# Hack: Autotools expand @sysconfdir@ as %{prefix}/etc; that's why we sed this
# to real prefix, so it doesn't appear like this in the man page.
udisks2.conf.5.xml: udisks2.conf.5.xml.in
	$(SED) "s|\$${prefix}|${prefix}|" $< > $@

udisks2.conf.5 : udisks2.conf.5.xml
	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

if HAVE_LSM
# Hack: Autotools expand @sysconfdir@ as %{prefix}/etc; that's why we sed this
# to real prefix, so it doesn't appear like this in the man page.
udisks2_lsm.conf.5.xml: udisks2_lsm.conf.5.xml.in
	$(SED) "s|\$${prefix}|${prefix}|" $< > $@

udisks2_lsm.conf.5 : udisks2_lsm.conf.5.xml
	$(XSLTPROC) -path "$(builddir)/.." -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
endif # HAVE_LSM

EXTRA_DIST =                                                                   \
	udisksctl.xml                                                          \
	udisksd.xml                                                            \
	udisks2.conf.5.xml                                                     \
	udisks.xml                                                             \
	umount.udisks2.xml                                                     \
	$(NULL)

if HAVE_LSM
EXTRA_DIST += udisks2_lsm.conf.5.xml
endif # HAVE_LSM

clean-local:
	rm -f *~ *.[18]                                                        \
	udisks2.conf.5                                                        \
	udisks2.conf.5.xml                                                    \
	udisks2_lsm.conf.5                                                    \
	udisks2_lsm.conf.5.xml