|
|
|
@ -61,7 +61,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 sd2raw sd2svg sd2text sdc2csv sdw2html; do
|
|
|
|
|
help2man --no-discard-stderr -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
|
|
help2man --no-discard-stderr -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
|
|
|
|
|
done
|
|
|
|
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
|
|
|
|
install -m 0644 sd2*.1 sd?2*.1 %{buildroot}/%{_mandir}/man1
|
|
|
|
|