Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
packaging: add man pages
Browse files Browse the repository at this point in the history
Change-Id: Id52d41c844ccc25d0189484467674263876ac12e
Signed-off-by: Artem Bityutskiy <[email protected]>
  • Loading branch information
dedekind committed Jan 18, 2013
1 parent ef4ada3 commit f0d6259
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions debian/manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/man1/bmaptool.1
6 changes: 5 additions & 1 deletion packaging/bmap-tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ Bmap-tools - tools to generate block map (AKA bmap) and flash images using bmap
%build

%install
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}

python setup.py install --prefix=%{_prefix} --root=%{buildroot}

mkdir -p %{buildroot}/%{_mandir}/man1
install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1

%files
%defattr(-,root,root,-)
%dir /usr/lib/python*/site-packages/bmaptools
Expand All @@ -45,5 +48,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%{_bindir}/*

%doc docs/RELEASE_NOTES
%{_mandir}/man1/*

%changelog

0 comments on commit f0d6259

Please sign in to comment.