[packages/qt5-qttools] - make docs - continue, even if make docs fails
    witekfl 
    witekfl at pld-linux.org
       
    Mon Dec 30 19:24:09 CET 2013
    
    
  
commit 1cb483dd2aeb1a0c549f40c75156bfffd7cb8f7d
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Mon Dec 30 19:23:13 2013 +0100
    - make docs
    - continue, even if make docs fails
 qt5-qttools.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/qt5-qttools.spec b/qt5-qttools.spec
index bc65922..c270140 100644
--- a/qt5-qttools.spec
+++ b/qt5-qttools.spec
@@ -1,5 +1,4 @@
 # TODO:
-# - use PLD ldflags
 # - cleanup
 # - symlinks
 
@@ -54,13 +53,16 @@ Qt5 Tools - examples.
 %build
 qmake-qt5
 %{__make}
-%{__make} html_docs
+%{__make} docs || :
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install install_html_docs \
+%{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
+%{__make} install_docs \
+	INSTALL_ROOT=$RPM_BUILD_ROOT || :
+
 # Prepare some files list
 ifecho() {
 	RESULT=`echo $RPM_BUILD_ROOT$2 2>/dev/null`
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/qt5-qttools.git/commitdiff/1cb483dd2aeb1a0c549f40c75156bfffd7cb8f7d
    
    
More information about the pld-cvs-commit
mailing list