[packages/ghc-xml] - simplified docs cleaning
qboosh
qboosh at pld-linux.org
Fri Mar 27 18:13:27 CET 2026
commit be39775dd57c7405263f31406893dfc0809c708d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Mar 27 18:13:47 2026 +0100
- simplified docs cleaning
ghc-xml.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ghc-xml.spec b/ghc-xml.spec
index 9b4f875..c1b622e 100644
--- a/ghc-xml.spec
+++ b/ghc-xml.spec
@@ -88,6 +88,7 @@ runhaskell Setup.hs configure -v2 \
--docdir=%{_docdir}/%{name}-%{version}
runhaskell Setup.hs build
+
runhaskell Setup.hs haddock --executables
%install
@@ -98,8 +99,7 @@ runhaskell Setup.hs copy --destdir=$RPM_BUILD_ROOT
# work around automatic haddock docs installation
%{__rm} -rf %{name}-%{version}-doc
-cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
runhaskell Setup.hs register \
--gen-pkg-config=$RPM_BUILD_ROOT%{_libdir}/%{ghcdir}/package.conf.d/%{pkgname}.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ghc-xml.git/commitdiff/be39775dd57c7405263f31406893dfc0809c708d
More information about the pld-cvs-commit
mailing list