SPECS: template-kde4.spec - conditional release/debug build, thx (glen)

shadzik shadzik at pld-linux.org
Fri Feb 20 12:55:10 CET 2009


Author: shadzik                      Date: Fri Feb 20 11:55:10 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- conditional release/debug build, thx (glen)

---- Files affected:
SPECS:
   template-kde4.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/template-kde4.spec
diff -u SPECS/template-kde4.spec:1.7 SPECS/template-kde4.spec:1.8
--- SPECS/template-kde4.spec:1.7	Fri Feb 20 12:01:08 2009
+++ SPECS/template-kde4.spec	Fri Feb 20 12:55:05 2009
@@ -47,8 +47,7 @@
 cd build
 %cmake .. \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-# set to debug or debugfull to get verbose output on terminal
-	-DCMAKE_BUILD_TYPE=release \
+	-DCMAKE_BUILD_TYPE=%{!?debug:release}%{?debug:debug} \
 %if "%{_lib}" == "lib64"
 	-DLIB_SUFFIX=64
 %endif
@@ -73,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2009/02/20 11:55:05  shadzik
+- conditional release/debug build, thx (glen)
+
 Revision 1.7  2009/02/20 11:01:08  shadzik
 - don't be that noisy on terminal output
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/template-kde4.spec?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list