]> code.delx.au - pulseaudio/blob - man/Makefile.am
4f42fe2dd8a46f1dd7a137dd152abbbe70b7b773
[pulseaudio] / man / Makefile.am
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU Lesser General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
16 # USA.
17
18 DISTCLEANFILES = \
19 $(noinst_DATA)
20
21 noinst_DATA = \
22 pulseaudio.1.xml \
23 esdcompat.1.xml \
24 pax11publish.1.xml \
25 paplay.1.xml \
26 pacat.1.xml \
27 pacmd.1.xml \
28 pactl.1.xml \
29 pasuspender.1.xml \
30 padsp.1.xml \
31 pulse-daemon.conf.5.xml \
32 pulse-client.conf.5.xml \
33 default.pa.5.xml
34
35 xmllint: $(noinst_DATA)
36 for f in $(noinst_DATA) ; do \
37 xmllint --noout --valid "$$f" || exit 1 ; \
38 done
39
40 if BUILD_MANPAGES
41
42 dist_man_MANS = \
43 pulseaudio.1 \
44 esdcompat.1 \
45 pax11publish.1 \
46 paplay.1 \
47 pacat.1 \
48 pacmd.1 \
49 pactl.1 \
50 pasuspender.1 \
51 padsp.1 \
52 pulse-daemon.conf.5 \
53 pulse-client.conf.5 \
54 default.pa.5
55
56 CLEANFILES = \
57 $(dist_man_MANS)
58
59 %: %.xml Makefile
60 $(AM_V_GEN) perl $(srcdir)/xmltoman $< > $@ || rm -f $@
61
62 endif
63
64 EXTRA_DIST = \
65 pulseaudio.1.xml.in \
66 esdcompat.1.xml.in \
67 pax11publish.1.xml.in \
68 paplay.1.xml.in \
69 pacat.1.xml.in \
70 pacmd.1.xml.in \
71 pactl.1.xml.in \
72 pasuspender.1.xml.in \
73 padsp.1.xml.in \
74 pulse-daemon.conf.5.xml.in \
75 pulse-client.conf.5.xml.in \
76 default.pa.5.xml.in \
77 xmltoman \
78 xmltoman.css \
79 xmltoman.xsl \
80 xmltoman.dtd