#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
_______________________________________________
pulseaudio-tickets mailing list
pulseaudio-tickets@mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets

Reply via email to