rpms/ghc/devel ghc-rpm-macros.ghc,1.7,1.8
Jens Petersen
petersen at fedoraproject.org
Thu Oct 23 08:31:50 UTC 2008
Author: petersen
Update of /cvs/extras/rpms/ghc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32348/devel
Modified Files:
ghc-rpm-macros.ghc
Log Message:
make ghc_reindex_haddock safer when ghc-doc not installed
Index: ghc-rpm-macros.ghc
===================================================================
RCS file: /cvs/extras/rpms/ghc/devel/ghc-rpm-macros.ghc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ghc-rpm-macros.ghc 23 Oct 2008 06:40:25 -0000 1.7
+++ ghc-rpm-macros.ghc 23 Oct 2008 08:31:20 -0000 1.8
@@ -56,5 +56,5 @@
%{nil}
%ghc_reindex_haddock \
-( cd %{_docdir}/ghc/libraries && ./gen_contents_index ) || : \
+( cd %{_docdir}/ghc/libraries && [ -x "./gen_contents_index" ] && ./gen_contents_index ) || : \
%{nil}
More information about the scm-commits
mailing list