Add a missing pa_xfree.
[pulseaudio.git] / man / Makefile.am
blob0a355f95288afc868e666830c7ba2d62c74ee330
1 # $Id$
3 # This file is part of PulseAudio.
5 # PulseAudio is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as published by
7 # the Free Software Foundation; either version 2 of the License, or
8 # (at your option) any later version.
10 # PulseAudio is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public License
16 # along with PulseAudio; if not, write to the Free Software
17 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 # USA.
20 pulseconfdir=$(sysconfdir)/pulse
22 if BUILD_MANPAGES
24 man_MANS = \
25         pulseaudio.1 \
26         esdcompat.1 \
27         pax11publish.1 \
28         paplay.1 \
29         pacat.1 \
30         pacmd.1 \
31         pactl.1 \
32         pasuspender.1 \
33         padsp.1 \
34         pabrowse.1 \
35         pulse-daemon.conf.5 \
36         pulse-client.conf.5 \
37         default.pa.5
39 noinst_DATA = \
40         pulseaudio.1.xml \
41         esdcompat.1.xml \
42         pax11publish.1.xml \
43         paplay.1.xml \
44         pacat.1.xml \
45         pacmd.1.xml \
46         pactl.1.xml \
47         pasuspender.1.xml \
48         padsp.1.xml \
49         pabrowse.1.xml \
50         pulse-daemon.conf.5.xml \
51         pulse-client.conf.5.xml \
52         default.pa.5.xml
54 CLEANFILES = \
55         $(noinst_DATA)
57 pulseaudio.1.xml: pulseaudio.1.xml.in Makefile
58         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
59             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
60             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
62 esdcompat.1.xml: esdcompat.1.xml.in Makefile
63         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
64             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
65             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
67 pax11publish.1.xml: pax11publish.1.xml.in Makefile
68         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
69             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
70             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
72 paplay.1.xml: paplay.1.xml.in Makefile
73         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
74             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
75             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
77 pacat.1.xml: pacat.1.xml.in Makefile
78         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
79             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
80             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
82 pacmd.1.xml: pacmd.1.xml.in Makefile
83         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
84             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
85             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
87 pactl.1.xml: pactl.1.xml.in Makefile
88         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
89             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
90             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
92 pasuspender.1.xml: pasuspender.1.xml.in Makefile
93         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
94             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
95             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
97 padsp.1.xml: padsp.1.xml.in Makefile
98         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
99             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
100             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
102 pabrowse.1.xml: pabrowse.1.xml.in Makefile
103         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
104             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
105             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
107 pulse-daemon.conf.5.xml: pulse-daemon.conf.5.xml.in Makefile
108         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
109             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
110             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
112 pulse-client.conf.5.xml: pulse-client.conf.5.xml.in Makefile
113         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
114             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
115             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
117 default.pa.5.xml: default.pa.5.xml.in Makefile
118         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
119             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
120             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
122 if USE_XMLTOMAN
124 CLEANFILES += \
125         $(man_MANS)
127 pulseaudio.1: pulseaudio.1.xml Makefile
128         xmltoman $< > $@
130 esdcompat.1: esdcompat.1.xml Makefile
131         xmltoman $< > $@
133 pax11publish.1: pax11publish.1.xml Makefile
134         xmltoman $< > $@
136 paplay.1: paplay.1.xml Makefile
137         xmltoman $< > $@
139 pacat.1: pacat.1.xml Makefile
140         xmltoman $< > $@
142 pacmd.1: pacmd.1.xml Makefile
143         xmltoman $< > $@
145 pactl.1: pactl.1.xml Makefile
146         xmltoman $< > $@
148 pasuspender.1: pasuspender.1.xml Makefile
149         xmltoman $< > $@
151 padsp.1: padsp.1.xml Makefile
152         xmltoman $< > $@
154 pabrowse.1: pabrowse.1.xml Makefile
155         xmltoman $< > $@
157 pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile
158         xmltoman $< > $@
160 pulse-client.conf.5: pulse-client.conf.5.xml Makefile
161         xmltoman $< > $@
163 default.pa.5: default.pa.5.xml Makefile
164         xmltoman $< > $@
166 xmllint: $(noinst_DATA)
167         for f in $(noinst_DATA) ; do \
168                         xmllint --noout --valid "$$f" || exit 1 ; \
169         done
171 endif
173 endif
175 EXTRA_DIST = \
176         $(man_MANS) \
177         pulseaudio.1.xml.in \
178         esdcompat.1.xml.in \
179         pax11publish.1.xml.in \
180         paplay.1.xml.in \
181         pacat.1.xml.in \
182         pacmd.1.xml.in \
183         pactl.1.xml.in \
184         pasuspender.1.xml.in \
185         padsp.1.xml.in \
186         pabrowse.1.xml.in \
187         pulse-daemon.conf.5.xml.in \
188         pulse-client.conf.5.xml.in \
189         default.pa.5.xml.in \
190         xmltoman.css \
191         xmltoman.xsl \
192         xmltoman.dtd