summaryrefslogtreecommitdiff
path: root/systemtap.spec
diff options
context:
space:
mode:
Diffstat (limited to 'systemtap.spec')
-rw-r--r--systemtap.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemtap.spec b/systemtap.spec
index 3e8e24b..35402f4 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -362,7 +362,9 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/systemtap/{conf.d,script.d}
install -d $RPM_BUILD_ROOT/var/lib/stap-server/.systemtap
install -d $RPM_BUILD_ROOT/var/log/stap-server
+%if %{with doc}
%{__mv} $RPM_BUILD_ROOT%{_docdir}/systemtap docs-installed
+%endif
%if %{with python2}
%py_postclean