1 # This file is part of PulseAudio.
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.
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.
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
18 pulseconfdir=$(sysconfdir)/pulse
48 pulse-daemon.conf.5.xml \
49 pulse-client.conf.5.xml \
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
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' $< > $@
125 pulseaudio.1: pulseaudio.1.xml Makefile
126 xmltoman $< > $@ || rm -f $@
128 esdcompat.1: esdcompat.1.xml Makefile
129 xmltoman $< > $@ || rm -f $@
131 pax11publish.1: pax11publish.1.xml Makefile
132 xmltoman $< > $@ || rm -f $@
134 paplay.1: paplay.1.xml Makefile
135 xmltoman $< > $@ || rm -f $@
137 pacat.1: pacat.1.xml Makefile
138 xmltoman $< > $@ || rm -f $@
140 pacmd.1: pacmd.1.xml Makefile
141 xmltoman $< > $@ || rm -f $@
143 pactl.1: pactl.1.xml Makefile
144 xmltoman $< > $@ || rm -f $@
146 pasuspender.1: pasuspender.1.xml Makefile
147 xmltoman $< > $@ || rm -f $@
149 padsp.1: padsp.1.xml Makefile
150 xmltoman $< > $@ || rm -f $@
152 pabrowse.1: pabrowse.1.xml Makefile
153 xmltoman $< > $@ || rm -f $@
155 pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile
156 xmltoman $< > $@ || rm -f $@
158 pulse-client.conf.5: pulse-client.conf.5.xml Makefile
159 xmltoman $< > $@ || rm -f $@
161 default.pa.5: default.pa.5.xml Makefile
162 xmltoman $< > $@ || rm -f $@
164 xmllint: $(noinst_DATA)
165 for f in $(noinst_DATA) ; do \
166 xmllint --noout --valid "$$f" || exit 1 ; \
175 pulseaudio.1.xml.in \
177 pax11publish.1.xml.in \
182 pasuspender.1.xml.in \
185 pulse-daemon.conf.5.xml.in \
186 pulse-client.conf.5.xml.in \
187 default.pa.5.xml.in \