summaryrefslogtreecommitdiffstats
path: root/systemtap.spec.in
diff options
context:
space:
mode:
authorMark Wielaard <mwielaard@redhat.com>2008-07-07 11:15:50 +0200
committerMark Wielaard <mwielaard@redhat.com>2008-07-07 11:17:40 +0200
commit7fe437e69acdfa85e8b2a5f65ec327a0731e7968 (patch)
treed1f3d5da48f7ab55871780cd77135e835f2925a4 /systemtap.spec.in
parent422b0781177e0755df5542e1c70e809e6f3cfe89 (diff)
downloadsystemtap-steved-7fe437e69acdfa85e8b2a5f65ec327a0731e7968.tar.gz
systemtap-steved-7fe437e69acdfa85e8b2a5f65ec327a0731e7968.tar.xz
systemtap-steved-7fe437e69acdfa85e8b2a5f65ec327a0731e7968.zip
Install tutorial and langref manuals.
Diffstat (limited to 'systemtap.spec.in')
-rw-r--r--systemtap.spec.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/systemtap.spec.in b/systemtap.spec.in
index e663b15a..b44d23cb 100644
--- a/systemtap.spec.in
+++ b/systemtap.spec.in
@@ -151,6 +151,12 @@ cp -rp testsuite $RPM_BUILD_ROOT%{_datadir}/systemtap
mkdir $RPM_BUILD_ROOT%{_datadir}/%{name}/src
cp -rp examples $RPM_BUILD_ROOT%{_datadir}/%{name}/src
+#%if %{with_docs}
+# We want the manuals in the special doc dir, not the generic doc install dir.
+mkdir docs.installed
+mv $RPM_BUILD_ROOT%{_datadir}/doc/systemtap/*.pdf docs.installed/
+#%endif
+
%clean
rm -rf ${RPM_BUILD_ROOT}
@@ -164,8 +170,7 @@ exit 0
%doc README AUTHORS NEWS COPYING examples
%if %{with_docs}
-%doc doc/tutorial.pdf
-%doc doc/langref.pdf
+%doc docs.installed/*.pdf
%endif
%{_bindir}/stap