diff options
author | Mark Wielaard <mwielaard@redhat.com> | 2008-08-07 16:42:16 +0200 |
---|---|---|
committer | Mark Wielaard <mwielaard@redhat.com> | 2008-08-07 16:42:16 +0200 |
commit | c256c4a6d2c9d9039924ef5fcdcbf4e802ed19c9 (patch) | |
tree | a964cb5b1280360277ef6c1f8c8ab2367e22d95c /systemtap.spec | |
parent | 1cfd2143ecabdf664b2d61f6d46bfab6fdd77816 (diff) | |
download | systemtap-steved-c256c4a6d2c9d9039924ef5fcdcbf4e802ed19c9.tar.gz systemtap-steved-c256c4a6d2c9d9039924ef5fcdcbf4e802ed19c9.tar.xz systemtap-steved-c256c4a6d2c9d9039924ef5fcdcbf4e802ed19c9.zip |
Add comment about versioned vs unversioned docs to systemtap.spec.
Diffstat (limited to 'systemtap.spec')
-rw-r--r-- | systemtap.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/systemtap.spec b/systemtap.spec index 503022d1..e5bd22f5 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -135,7 +135,10 @@ make %{?_smp_mflags} rm -rf ${RPM_BUILD_ROOT} make DESTDIR=$RPM_BUILD_ROOT install -# We want the examples in the special doc dir, not the generoc doc install dir. +# We want the examples in the special doc dir, not the build install dir. +# We build it in place and then move it away so it doesn't get installed +# twice. rpm can specify itself where the (versioned) docs go with the +# %doc directive. mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/examples examples # Fix paths in the example & testsuite scripts @@ -155,6 +158,9 @@ cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap #%if %{with_docs} # We want the manuals in the special doc dir, not the generic doc install dir. +# We build it in place and then move it away so it doesn't get installed +# twice. rpm can specify itself where the (versioned) docs go with the +# %doc directive. mkdir docs.installed mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/ #%endif |