]> git.pld-linux.org Git - packages/glib2.git/commitdiff
- wo doc bcond
authoradgor <adgor@pld-linux.org>
Mon, 27 Jun 2005 19:47:01 +0000 (19:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    glib2.spec -> 1.108

glib2.spec

index 04e304de674f1b7fa5bba1ed7f2591db76af95b9..71af82cbe3b1d9793f7b9c8b5092c0fab3bcf55d 100644 (file)
@@ -1,4 +1,5 @@
 # Conditional build:
+%bcond_without  doc             # disable gtk-doc
 %bcond_without static_libs     # don't build static library
 #
 Summary:       Useful routines for 'C' programming
@@ -149,12 +150,12 @@ Bibliotecas est
 %{__autoheader}
 %{__automake}
 %configure \
-       --enable-threads \
-       --enable-gtk-doc \
-       --with-html-dir=%{_gtkdocdir} \
-       --enable-static \
        --enable-debug=%{?debug:yes} \
+       %{?with_doc:--enable-gtk-doc} \
        --enable-man \
+       --enable-static \
+       --enable-threads \
+       --with-html-dir=%{_gtkdocdir} \
        %{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -194,7 +195,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/*
 %{_libdir}/glib-2.0
 %{_includedir}/*
-%{_gtkdocdir}/*
+%{?with_doc:%{_gtkdocdir}/*}
 %{_aclocaldir}/*
 %{_mandir}/man?/*
 
This page took 0.053459 seconds and 4 git commands to generate.