summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2018-01-15 21:14:45 -0300
committerTanu Kaskinen <tanuk@iki.fi>2018-01-24 04:09:21 +0200
commitf250341b8035c225cea5448cb0c0fd79e7471561 (patch)
treec05df0400b8647850d50a877aaafc6d92d22d322 /man
parentdf79abe754a6df7cf84ec06139cf38147355850d (diff)
build-sys: don't install esdcompat tool if building without esound support
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index d4f4edbc9..26829c632 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -18,7 +18,6 @@ DISTCLEANFILES = \
noinst_DATA = \
pulseaudio.1.xml \
- esdcompat.1.xml \
pax11publish.1.xml \
pacat.1.xml \
pacmd.1.xml \
@@ -31,6 +30,10 @@ noinst_DATA = \
pulse-cli-syntax.5.xml \
start-pulseaudio-x11.1.xml
+if HAVE_ESOUND
+noinst_DATA += esdcompat.1.xml
+endif
+
xmllint: $(noinst_DATA)
for f in $(noinst_DATA) ; do \
xmllint --noout --valid "$$f" || exit 1 ; \
@@ -40,7 +43,6 @@ if BUILD_MANPAGES
dist_man_MANS = \
pulseaudio.1 \
- esdcompat.1 \
pax11publish.1 \
pacat.1 \
pacmd.1 \
@@ -53,6 +55,9 @@ dist_man_MANS = \
pulse-cli-syntax.5 \
start-pulseaudio-x11.1
+if HAVE_ESOUND
+dist_man_MANS += esdcompat.1
+endif
CLEANFILES = \
$(dist_man_MANS)