]> code.delx.au - pulseaudio/blob - man/Makefile.am
pactl: Stop parsing option when the first non-option is encountered
[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 pulse-cli-syntax.5.xml \
35 start-pulseaudio-x11.1.xml
36
37 xmllint: $(noinst_DATA)
38 for f in $(noinst_DATA) ; do \
39 xmllint --noout --valid "$$f" || exit 1 ; \
40 done
41
42 if BUILD_MANPAGES
43
44 dist_man_MANS = \
45 pulseaudio.1 \
46 esdcompat.1 \
47 pax11publish.1 \
48 paplay.1 \
49 pacat.1 \
50 pacmd.1 \
51 pactl.1 \
52 pasuspender.1 \
53 padsp.1 \
54 pulse-daemon.conf.5 \
55 pulse-client.conf.5 \
56 default.pa.5 \
57 pulse-cli-syntax.5 \
58 start-pulseaudio-x11.1
59
60 CLEANFILES = \
61 $(dist_man_MANS)
62
63 %: %.xml Makefile
64 $(AM_V_GEN) perl $(srcdir)/xmltoman $< > $@ || rm -f $@
65
66 endif
67
68 EXTRA_DIST = \
69 pulseaudio.1.xml.in \
70 esdcompat.1.xml.in \
71 pax11publish.1.xml.in \
72 paplay.1.xml.in \
73 pacat.1.xml.in \
74 pacmd.1.xml.in \
75 pactl.1.xml.in \
76 pasuspender.1.xml.in \
77 padsp.1.xml.in \
78 pulse-daemon.conf.5.xml.in \
79 pulse-client.conf.5.xml.in \
80 default.pa.5.xml.in \
81 pulse-cli-syntax.5.xml.in \
82 start-pulseaudio-x11.1.xml.in \
83 xmltoman \
84 xmltoman.css \
85 xmltoman.xsl \
86 xmltoman.dtd