use the package name as program suite in man pages
This commit is contained in:
parent
02d890518b
commit
a6428e8369
@ -67,7 +67,7 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
||||
# generate and install man pages
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||
for tool in cdr2raw cmx2raw cdr2xhtml cmx2xhtml cdr2text cmx2text; do
|
||||
help2man -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
||||
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
||||
done
|
||||
mkdir -p %{buildroot}/%{_mandir}/man1
|
||||
install -m 0644 cdr2*.1 cmx2*.1 %{buildroot}/%{_mandir}/man1
|
||||
|
Loading…
Reference in New Issue
Block a user