mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-16 08:56:40 -05:00
man: fix build with --disable-manpages
http://pulseaudio.org/ticket/698
This commit is contained in:
parent
7793da371b
commit
38a03c1e4f
1 changed files with 23 additions and 23 deletions
|
|
@ -20,21 +20,6 @@ pulseconfdir=$(sysconfdir)/pulse
|
||||||
CLEANFILES = \
|
CLEANFILES = \
|
||||||
$(noinst_DATA)
|
$(noinst_DATA)
|
||||||
|
|
||||||
dist_man_MANS = \
|
|
||||||
pulseaudio.1 \
|
|
||||||
esdcompat.1 \
|
|
||||||
pax11publish.1 \
|
|
||||||
paplay.1 \
|
|
||||||
pacat.1 \
|
|
||||||
pacmd.1 \
|
|
||||||
pactl.1 \
|
|
||||||
pasuspender.1 \
|
|
||||||
padsp.1 \
|
|
||||||
pabrowse.1 \
|
|
||||||
pulse-daemon.conf.5 \
|
|
||||||
pulse-client.conf.5 \
|
|
||||||
default.pa.5
|
|
||||||
|
|
||||||
noinst_DATA = \
|
noinst_DATA = \
|
||||||
pulseaudio.1.xml \
|
pulseaudio.1.xml \
|
||||||
esdcompat.1.xml \
|
esdcompat.1.xml \
|
||||||
|
|
@ -50,24 +35,39 @@ noinst_DATA = \
|
||||||
pulse-client.conf.5.xml \
|
pulse-client.conf.5.xml \
|
||||||
default.pa.5.xml
|
default.pa.5.xml
|
||||||
|
|
||||||
if BUILD_MANPAGES
|
|
||||||
|
|
||||||
CLEANFILES += \
|
|
||||||
$(dist_man_MANS)
|
|
||||||
|
|
||||||
%.xml: %.xml.in Makefile
|
%.xml: %.xml.in Makefile
|
||||||
sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
|
sed -e 's,@pulseconfdir\@,$(pulseconfdir),g' \
|
||||||
-e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
|
-e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \
|
||||||
-e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
|
-e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@
|
||||||
|
|
||||||
%: %.xml Makefile
|
|
||||||
perl $(srcdir)/xmltoman $< > $@ || rm -f $@
|
|
||||||
|
|
||||||
xmllint: $(noinst_DATA)
|
xmllint: $(noinst_DATA)
|
||||||
for f in $(noinst_DATA) ; do \
|
for f in $(noinst_DATA) ; do \
|
||||||
xmllint --noout --valid "$$f" || exit 1 ; \
|
xmllint --noout --valid "$$f" || exit 1 ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if BUILD_MANPAGES
|
||||||
|
|
||||||
|
dist_man_MANS = \
|
||||||
|
pulseaudio.1 \
|
||||||
|
esdcompat.1 \
|
||||||
|
pax11publish.1 \
|
||||||
|
paplay.1 \
|
||||||
|
pacat.1 \
|
||||||
|
pacmd.1 \
|
||||||
|
pactl.1 \
|
||||||
|
pasuspender.1 \
|
||||||
|
padsp.1 \
|
||||||
|
pabrowse.1 \
|
||||||
|
pulse-daemon.conf.5 \
|
||||||
|
pulse-client.conf.5 \
|
||||||
|
default.pa.5
|
||||||
|
|
||||||
|
CLEANFILES += \
|
||||||
|
$(dist_man_MANS)
|
||||||
|
|
||||||
|
%: %.xml Makefile
|
||||||
|
perl $(srcdir)/xmltoman $< > $@ || rm -f $@
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue