From 0afe4ffcf2806abfe2fe468002dd9167a3e873df Mon Sep 17 00:00:00 2001 From: David Tardon Date: Feb 10 2014 17:08:20 +0000 Subject: fix man page generation --- diff --git a/libe-book.spec b/libe-book.spec index 9e4d005..6f67319 100644 --- a/libe-book.spec +++ b/libe-book.spec @@ -62,9 +62,10 @@ sed -i \ libtool make %{?_smp_mflags} -help2man -N -n 'convert e-book into HTML' -o ebook2html.1 ebook2html -help2man -N -n 'convert e-book into plain text' -o ebook2text.1 ebook2text -help2man -N -n 'debug the conversion library' -o ebook2raw.1 ebook2raw +export LD_LIBRARY_PATH=$(pwd)/src/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} +help2man -N -n 'convert e-book into HTML' -o ebook2html.1 ./src/conv/html/ebook2html +help2man -N -n 'convert e-book into plain text' -o ebook2text.1 ./src/conv/text/ebook2text +help2man -N -n 'debug the conversion library' -o ebook2raw.1 ./src/conv/raw/ebook2raw %install make install DESTDIR=%{buildroot}