]> code.delx.au - pulseaudio/commitdiff
Fix man pages generation when building out of tree.
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 8 Aug 2008 11:18:16 +0000 (13:18 +0200)
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>
Fri, 8 Aug 2008 11:18:16 +0000 (13:18 +0200)
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).

man/Makefile.am

index b0536d843607a89fed69115635b578dfdef1ee53..874dd291ac18e9cc87510d2ba74ed4484eb06a94 100644 (file)
@@ -121,43 +121,43 @@ CLEANFILES += \
        $(man_MANS)
 
 pulseaudio.1: pulseaudio.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 esdcompat.1: esdcompat.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 pax11publish.1: pax11publish.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 paplay.1: paplay.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 pacat.1: pacat.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 pacmd.1: pacmd.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 pactl.1: pactl.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 pasuspender.1: pasuspender.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 padsp.1: padsp.1.xml Makefile
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 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
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 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
-       perl xmltoman $< > $@ || rm -f $@
+       perl $(srcdir)/xmltoman $< > $@ || rm -f $@
 
 xmllint: $(noinst_DATA)
        for f in $(noinst_DATA) ; do \