]> code.delx.au - pulseaudio/blob - man/Makefile.am
fix typo in man page, closes rhbz #447355
[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 pulseconfdir=$(sysconfdir)/pulse
19
20 if BUILD_MANPAGES
21
22 man_MANS = \
23 pulseaudio.1 \
24 esdcompat.1 \
25 pax11publish.1 \
26 paplay.1 \
27 pacat.1 \
28 pacmd.1 \
29 pactl.1 \
30 pasuspender.1 \
31 padsp.1 \
32 pabrowse.1 \
33 pulse-daemon.conf.5 \
34 pulse-client.conf.5 \
35 default.pa.5
36
37 noinst_DATA = \
38 pulseaudio.1.xml \
39 esdcompat.1.xml \
40 pax11publish.1.xml \
41 paplay.1.xml \
42 pacat.1.xml \
43 pacmd.1.xml \
44 pactl.1.xml \
45 pasuspender.1.xml \
46 padsp.1.xml \
47 pabrowse.1.xml \
48 pulse-daemon.conf.5.xml \
49 pulse-client.conf.5.xml \
50 default.pa.5.xml
51
52 CLEANFILES = \
53 $(noinst_DATA)
54
55 pulseaudio.1.xml: pulseaudio.1.xml.in Makefile
56 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
57 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
58 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
59
60 esdcompat.1.xml: esdcompat.1.xml.in Makefile
61 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
62 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
63 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
64
65 pax11publish.1.xml: pax11publish.1.xml.in Makefile
66 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
67 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
68 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
69
70 paplay.1.xml: paplay.1.xml.in Makefile
71 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
72 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
73 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
74
75 pacat.1.xml: pacat.1.xml.in Makefile
76 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
77 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
78 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
79
80 pacmd.1.xml: pacmd.1.xml.in Makefile
81 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
82 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
83 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
84
85 pactl.1.xml: pactl.1.xml.in Makefile
86 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
87 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
88 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
89
90 pasuspender.1.xml: pasuspender.1.xml.in Makefile
91 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
92 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
93 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
94
95 padsp.1.xml: padsp.1.xml.in Makefile
96 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
97 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
98 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
99
100 pabrowse.1.xml: pabrowse.1.xml.in Makefile
101 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
102 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
103 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
104
105 pulse-daemon.conf.5.xml: pulse-daemon.conf.5.xml.in Makefile
106 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
107 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
108 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
109
110 pulse-client.conf.5.xml: pulse-client.conf.5.xml.in Makefile
111 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
112 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
113 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
114
115 default.pa.5.xml: default.pa.5.xml.in Makefile
116 sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
117 -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
118 -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
119
120 CLEANFILES += \
121 $(man_MANS)
122
123 pulseaudio.1: pulseaudio.1.xml Makefile
124 perl xmltoman $< > $@ || rm -f $@
125
126 esdcompat.1: esdcompat.1.xml Makefile
127 perl xmltoman $< > $@ || rm -f $@
128
129 pax11publish.1: pax11publish.1.xml Makefile
130 perl xmltoman $< > $@ || rm -f $@
131
132 paplay.1: paplay.1.xml Makefile
133 perl xmltoman $< > $@ || rm -f $@
134
135 pacat.1: pacat.1.xml Makefile
136 perl xmltoman $< > $@ || rm -f $@
137
138 pacmd.1: pacmd.1.xml Makefile
139 perl xmltoman $< > $@ || rm -f $@
140
141 pactl.1: pactl.1.xml Makefile
142 perl xmltoman $< > $@ || rm -f $@
143
144 pasuspender.1: pasuspender.1.xml Makefile
145 perl xmltoman $< > $@ || rm -f $@
146
147 padsp.1: padsp.1.xml Makefile
148 perl xmltoman $< > $@ || rm -f $@
149
150 pabrowse.1: pabrowse.1.xml Makefile
151 perl xmltoman $< > $@ || rm -f $@
152
153 pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile
154 perl xmltoman $< > $@ || rm -f $@
155
156 pulse-client.conf.5: pulse-client.conf.5.xml Makefile
157 perl xmltoman $< > $@ || rm -f $@
158
159 default.pa.5: default.pa.5.xml Makefile
160 perl xmltoman $< > $@ || rm -f $@
161
162 xmllint: $(noinst_DATA)
163 for f in $(noinst_DATA) ; do \
164 xmllint --noout --valid "$$f" || exit 1 ; \
165 done
166
167 endif
168
169 EXTRA_DIST = \
170 $(man_MANS) \
171 pulseaudio.1.xml.in \
172 esdcompat.1.xml.in \
173 pax11publish.1.xml.in \
174 paplay.1.xml.in \
175 pacat.1.xml.in \
176 pacmd.1.xml.in \
177 pactl.1.xml.in \
178 pasuspender.1.xml.in \
179 padsp.1.xml.in \
180 pabrowse.1.xml.in \
181 pulse-daemon.conf.5.xml.in \
182 pulse-client.conf.5.xml.in \
183 default.pa.5.xml.in \
184 xmltoman \
185 xmltoman.css \
186 xmltoman.xsl \
187 xmltoman.dtd