[pulseaudio-tickets] [PulseAudio] #698: Does not build with --disable-manpages

PulseAudio trac-noreply at tango.0pointer.de
Thu Oct 29 05:31:27 PDT 2009


#698: Does not build with --disable-manpages
----------------------+-----------------------------------------------------
 Reporter:  matthijs  |       Owner:  lennart     
     Type:  defect    |      Status:  new         
Milestone:            |   Component:  build-system
 Keywords:            |  
----------------------+-----------------------------------------------------
 {{{
 Making all in man
 make[5]: Entering directory `/home/matthijs/docs/src/upstream/fon-ng-
 elan/openwrt/build_dir/mips/pulseaudio-0.9.19/man'
 make[5]: *** No rule to make target `pulseaudio.1.xml', needed by `all-
 am'.  Stop.
 make[5]: Leaving directory `/home/matthijs/docs/src/upstream/fon-ng-
 elan/openwrt/build_dir/mips/pulseaudio-0.9.19/man'
 make[4]: *** [all-recursive] Error 1
 }}}

 When compiling with --disable-manpages, build fails. The Makefile code
 that knows how to build manpages is disabled, but the code that tells what
 manpages need to be built is still present, causing the above error.

 The following patch fixes this (though this might not be the most elegant
 way?):

 {{{
 --- a/man/Makefile.am
 +++ b/man/Makefile.am
 @@ -20,6 +20,7 @@
  CLEANFILES = \
     $(noinst_DATA)

 +if BUILD_MANPAGES
  dist_man_MANS = \
     pulseaudio.1 \
     esdcompat.1 \
 @@ -50,8 +51,6 @@
         pulse-client.conf.5.xml \
         default.pa.5.xml

 -if BUILD_MANPAGES
 -
  CLEANFILES += \
         $(dist_man_MANS)

 }}}

-- 
Ticket URL: <http://pulseaudio.org/ticket/698>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list