[libe-book] fix man page generation

David Tardon dtardon at fedoraproject.org
Mon Feb 10 17:07:50 UTC 2014


commit 0afe4ffcf2806abfe2fe468002dd9167a3e873df
Author: David Tardon <dtardon at redhat.com>
Date:   Mon Feb 10 18:08:20 2014 +0100

    fix man page generation

 libe-book.spec |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
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}


More information about the scm-commits mailing list