kkofler pushed to git-cola (f20). "Also pass SPHINXBUILD everywhere. (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 1 10:02:51 UTC 2015


>From e64886880aa6e135f3ad3c0fc38a3a7085dec05a Mon Sep 17 00:00:00 2001
From: Kevin Kofler <Kevin at tigcc.ticalc.org>
Date: Mon, 15 Dec 2014 04:25:53 +0100
Subject: Also pass SPHINXBUILD everywhere.

At least make install-doc needs it, too.

diff --git a/git-cola.spec b/git-cola.spec
index 08e5964..39d1f0f 100644
--- a/git-cola.spec
+++ b/git-cola.spec
@@ -50,13 +50,14 @@ find . -type f -exec sh -c "head {} -n 1 | grep ^#\!\ \*/usr/bin/env\ python >/d
 %endif
 
 %build
-make %{?_smp_mflags} PYTHON="%{__python}"
-make doc PYTHON="%{__python}" %{?sphinxbuild:SPHINXBUILD="%{sphinxbuild}"}
+%global makeopts PYTHON="%{__python}" %{?sphinxbuild:SPHINXBUILD="%{sphinxbuild}"}
+make %{?_smp_mflags} %{makeopts}
+make PYTHON="%{__python}" %{makeopts} doc
 
 %install
-make DESTDIR=%{buildroot} prefix=%{_prefix} PYTHON="%{__python}" install
-make DESTDIR=%{buildroot} prefix=%{_prefix} PYTHON="%{__python}" install-doc
-make DESTDIR=%{buildroot} prefix=%{_prefix} PYTHON="%{__python}" install-html
+make DESTDIR=%{buildroot} prefix=%{_prefix} %{makeopts} install
+make DESTDIR=%{buildroot} prefix=%{_prefix} %{makeopts} install-doc
+make DESTDIR=%{buildroot} prefix=%{_prefix} %{makeopts} install-html
 
 %find_lang %{name}
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/git-cola.git/commit/?h=f20&id=e64886880aa6e135f3ad3c0fc38a3a7085dec05a


More information about the scm-commits mailing list