[Ffmpeg-devel] [RFC][PATCH]make failed when pod2man not installed
Dujardin Bernard
dujardin.iut
Mon Feb 19 19:42:24 CET 2007
Hi,
pod2man was not installed on my box and make failed with this :
./texi2pod.pl ffplay-doc.texi ffplay.pod
pod2man --section=1 --center=" " --release=" " ffplay.pod > ffplay.1
/bin/sh.exe: pod2man: command not found
make[1]: *** [ffplay.1] Error 127
rm ffplay.pod
make[1]: Leaving directory `/home/bernard/ffmpegconfigure/ffmpeg2/doc'
make: *** [documentation] Error 2
To avoid build error, I propose 3 patchs :
I attempt to avoid a lot of changes in Makefile, (e.g create other
targets like documentation-doc: documentation-man:)
- A variable BUILD_MAN=yes write in config.mak if pod2man exist
- conditionnaly build INSTALLMAN target in Makefile,
- conditionnally build target all: in doc/Makefile. May be is better
to create target like doc-html and doc-man
Check pod2man command with pod2man --help, there are no --version option
and all others options out lot of info on stdout.
In hope is help
ok, to apply
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070219/35754873/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: configure.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070219/35754873/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: doc_Makefile.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070219/35754873/attachment-0001.txt>
More information about the ffmpeg-devel
mailing list