stream-restore: mark volume changes from instant apply as saved ones
[pulseaudio-mirror.git] / man / Makefile.am
blob9b229f52a8856a15d8470f75ac82baa9a6d9a3a1
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
16 # USA.
18 pulseconfdir=$(sysconfdir)/pulse
20 CLEANFILES = \
21         $(noinst_DATA)
23 dist_man_MANS = \
24         pulseaudio.1 \
25         esdcompat.1 \
26         pax11publish.1 \
27         paplay.1 \
28         pacat.1 \
29         pacmd.1 \
30         pactl.1 \
31         pasuspender.1 \
32         padsp.1 \
33         pabrowse.1 \
34         pulse-daemon.conf.5 \
35         pulse-client.conf.5 \
36         default.pa.5
38 noinst_DATA = \
39         pulseaudio.1.xml \
40         esdcompat.1.xml \
41         pax11publish.1.xml \
42         paplay.1.xml \
43         pacat.1.xml \
44         pacmd.1.xml \
45         pactl.1.xml \
46         pasuspender.1.xml \
47         padsp.1.xml \
48         pabrowse.1.xml \
49         pulse-daemon.conf.5.xml \
50         pulse-client.conf.5.xml \
51         default.pa.5.xml
53 if BUILD_MANPAGES
55 CLEANFILES += \
56         $(dist_man_MANS)
58 %.xml: %.xml.in Makefile
59         sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
60             -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
61             -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
63 %: %.xml Makefile
64         perl $(srcdir)/xmltoman $< > $@ || rm -f $@
66 xmllint: $(noinst_DATA)
67         for f in $(noinst_DATA) ; do \
68                         xmllint --noout --valid "$$f" || exit 1 ; \
69         done
71 endif
73 EXTRA_DIST = \
74         pulseaudio.1.xml.in \
75         esdcompat.1.xml.in \
76         pax11publish.1.xml.in \
77         paplay.1.xml.in \
78         pacat.1.xml.in \
79         pacmd.1.xml.in \
80         pactl.1.xml.in \
81         pasuspender.1.xml.in \
82         padsp.1.xml.in \
83         pabrowse.1.xml.in \
84         pulse-daemon.conf.5.xml.in \
85         pulse-client.conf.5.xml.in \
86         default.pa.5.xml.in \
87         xmltoman \
88         xmltoman.css \
89         xmltoman.xsl \
90         xmltoman.dtd