From 7fe437e69acdfa85e8b2a5f65ec327a0731e7968 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 7 Jul 2008 11:15:50 +0200 Subject: Install tutorial and langref manuals. --- systemtap.spec.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'systemtap.spec.in') 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 -- cgit