remove dependency on gtk-doc
authorAnas Nashif <anas.nashif@intel.com>
Mon, 7 Jan 2013 15:08:44 +0000 (07:08 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Sat, 2 Feb 2013 18:17:58 +0000 (10:17 -0800)
Makefile.am
packaging/gobject-introspection.spec

index 7016458..28d2d76 100644 (file)
@@ -26,7 +26,7 @@ include Makefile-msvcproj.am
 ## Process this file with automake to produce Makefile.in
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
-SUBDIRS = . docs tests build
+SUBDIRS = . tests build
 
 DIST_SUBDIRS = m4 $(SUBDIRS)
 DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
index c0fb95f..9a322ac 100644 (file)
@@ -20,7 +20,7 @@ BuildRequires:  python-xml
 BuildRequires:  pkgconfig(cairo)
 BuildRequires:  pkgconfig(cairo-gobject)
 BuildRequires:  pkgconfig(gobject-2.0)
-BuildRequires:  pkgconfig(gtk-doc)
+#BuildRequires:  pkgconfig(gtk-doc)
 Requires:       libgirepository = %{version}
 Requires:       python-xml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -65,23 +65,15 @@ a uniform, machine readable format.
 %prep
 %setup -q
 
-%if 0%{?BUILD_FROM_VCS}
-[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
-%endif
-
 %build
-gtkdocize --copy
-autoreconf -fi
+[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh
+#autoreconf -fi
 %configure \
-%if 0%{?BUILD_FROM_VCS}
-        --enable-gtk-doc \
-%endif
-        --disable-static
+        --disable-gtk-doc 
 %__make %{?_smp_mflags} V=1
 
 %install
 %make_install
-find %{buildroot} -type f -name "*.la" -delete -print
 install -D %{S:1} %{buildroot}%{_rpmconfigdir}/gi-find-deps.sh
 install -D %{S:2} -m 0644 %{buildroot}%{_rpmconfigdir}/fileattrs/gobjectintrospection.attr
 # comparing, if we provide all the symbols expected.