Fix man pages generation when building out of tree.

When referring to the xmltoman script srcdir should be requested, or
the build will fail when doing out of tree builds (and the script is
thus not in the build directory).
This commit is contained in:
Diego 'Flameeyes' Pettenò 2008-08-08 13:18:16 +02:00
parent 8a3d666da3
commit 29fca62c89

View file

@ -121,43 +121,43 @@ CLEANFILES += \
$(man_MANS) $(man_MANS)
pulseaudio.1: pulseaudio.1.xml Makefile pulseaudio.1: pulseaudio.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
esdcompat.1: esdcompat.1.xml Makefile esdcompat.1: esdcompat.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pax11publish.1: pax11publish.1.xml Makefile pax11publish.1: pax11publish.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
paplay.1: paplay.1.xml Makefile paplay.1: paplay.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pacat.1: pacat.1.xml Makefile pacat.1: pacat.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pacmd.1: pacmd.1.xml Makefile pacmd.1: pacmd.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pactl.1: pactl.1.xml Makefile pactl.1: pactl.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pasuspender.1: pasuspender.1.xml Makefile pasuspender.1: pasuspender.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
padsp.1: padsp.1.xml Makefile padsp.1: padsp.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pabrowse.1: pabrowse.1.xml Makefile pabrowse.1: pabrowse.1.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile pulse-daemon.conf.5: pulse-daemon.conf.5.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
pulse-client.conf.5: pulse-client.conf.5.xml Makefile pulse-client.conf.5: pulse-client.conf.5.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
default.pa.5: default.pa.5.xml Makefile default.pa.5: default.pa.5.xml Makefile
perl xmltoman $< > $@ || rm -f $@ perl $(srcdir)/xmltoman $< > $@ || rm -f $@
xmllint: $(noinst_DATA) xmllint: $(noinst_DATA)
for f in $(noinst_DATA) ; do \ for f in $(noinst_DATA) ; do \