use the package name as program suite in man pages
This commit is contained in:
parent
06fbc2835b
commit
c99142e440
@ -56,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
|
|||||||
# generate and install man pages
|
# generate and install man pages
|
||||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
for tool in wpd2html wpd2raw wpd2text; do
|
for tool in wpd2html wpd2raw wpd2text; do
|
||||||
help2man -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
||||||
done
|
done
|
||||||
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
||||||
install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
|
install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1
|
||||||
|
Loading…
Reference in New Issue
Block a user