Skip to content

Commit

Permalink
rpm fedora: fix default doc directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Dec 19, 2012
1 parent 9ab1a78 commit 5e49465
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/rpm/fedora/cutter.spec.in
Expand Up @@ -50,6 +50,9 @@ V=1 make %{?_smp_mflags}

%install
rm -rf %{buildroot}
# replace to proper directory
sed -i 's|/usr/local/share/doc/cutter|%{_defaultdocdir}/%{name}-%{version}|g' doc/cutter.man
sed -i "s|/usr/local/share/doc/cutter/ja|%{_defaultdocdir}/%{name}-%{version}|g" doc/cutter.jman
make install DESTDIR=%{buildroot}
# remove needless config directory of sample. this one will be generated by autogen.sh.
rm -fr %{buildroot}%{_datadir}/cutter/stack/config
Expand Down

0 comments on commit 5e49465

Please sign in to comment.