From 315e4713ffa2c9c1250448e2eefb10f22f80a096 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 21 Mar 2016 15:26:53 +0100 Subject: [PATCH] Rebuild the docs too --- libmbim.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libmbim.spec b/libmbim.spec index b8819a7..2ad50d1 100644 --- a/libmbim.spec +++ b/libmbim.spec @@ -18,6 +18,7 @@ BuildRequires: pkgconfig BuildRequires: automake autoconf libtool BuildRequires: python >= 2.7 BuildRequires: pkgconfig(gudev-1.0) >= 147 +BuildRequires: gtk-doc %description @@ -45,18 +46,17 @@ functionality from the command line. %prep -# NOTE: the documentation is pre-generated and shipped in the dist tarball; -# it is not build during the RPM build but the pre-generated docs are simply -# installed as-is. %setup -q %build -%configure --disable-static +%configure --disable-static --enable-gtk-doc V=1 make %{?_smp_mflags} %install make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la +find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac + %check make check