SPECS: pango.spec - apidocs still built even if bcond off, so at l...

glen glen at pld-linux.org
Wed Mar 5 20:48:56 CET 2008


Author: glen                         Date: Wed Mar  5 19:48:56 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- apidocs still built even if bcond off, so at least pass proper docdir and remove them

---- Files affected:
SPECS:
   pango.spec (1.187 -> 1.188) 

---- Diffs:

================================================================
Index: SPECS/pango.spec
diff -u SPECS/pango.spec:1.187 SPECS/pango.spec:1.188
--- SPECS/pango.spec:1.187	Tue Jan  8 23:56:28 2008
+++ SPECS/pango.spec	Wed Mar  5 20:48:51 2008
@@ -164,7 +164,7 @@
 %configure \
 	--with-fribidi \
 	--%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
-	%{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
+	--with-html-dir=%{_gtkdocdir} \
 	--%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
 	--enable-debug=%{?debug:yes}%{!?debug:minimum} \
 	--enable-man
@@ -194,6 +194,8 @@
 # useless (modules loaded through libgmodule)
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/1.6.0/modules/*.{la,a}
 
+%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/pango}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -303,6 +305,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.188  2008-03-05 19:48:51  glen
+- apidocs still built even if bcond off, so at least pass proper docdir and remove them
+
 Revision 1.187  2008-01-08 22:56:28  qboosh
 - uh uh; mv doesn't want to do nop, must be conditional
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pango.spec?r1=1.187&r2=1.188&f=u



More information about the pld-cvs-commit mailing list