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' $< > $@
123 pulseaudio.1: pulseaudio.1.xml Makefile
124 perl xmltoman $< > $@ || rm -f $@
126 esdcompat.1: esdcompat.1.xml Makefile
127 perl xmltoman $< > $@ || rm -f $@
129 pax11publish.1: pax11publish.1.xml Makefile
130 perl xmltoman $< > $@ || rm -f $@
132 paplay.1: paplay.1.xml Makefile
133 perl xmltoman $< > $@ || rm -f $@
135 pacat.1: pacat.1.xml Makefile
136 perl xmltoman $< > $@ || rm -f $@
138 pacmd.1: pacmd.1.xml Makefile
139 perl xmltoman $< > $@ || rm -f $@
141 pactl.1: pactl.1.xml Makefile
142 perl xmltoman $< > $@ || rm -f $@
144 pasuspender.1: pasuspender.1.xml Makefile
145 perl xmltoman $< > $@ || rm -f $@
147 padsp.1: padsp.1.xml Makefile
148 perl xmltoman $< > $@ || rm -f $@
150 pabrowse.1: pabrowse.1.xml Makefile
151 perl xmltoman $< > $@ || rm -f $@
153 pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile
154 perl xmltoman $< > $@ || rm -f $@
156 pulse-client.conf.5: pulse-client.conf.5.xml Makefile
157 perl xmltoman $< > $@ || rm -f $@
159 default.pa.5: default.pa.5.xml Makefile
160 perl xmltoman $< > $@ || rm -f $@
162 xmllint: $(noinst_DATA)
163 for f in $(noinst_DATA) ; do \
164 xmllint --noout --valid "$$f" || exit 1 ; \
171 pulseaudio.1.xml.in \
173 pax11publish.1.xml.in \
178 pasuspender.1.xml.in \
181 pulse-daemon.conf.5.xml.in \
182 pulse-client.conf.5.xml.in \
183 default.pa.5.xml.in \