Rebuild the docs too
This commit is contained in:
parent
7c2a6e2223
commit
315e4713ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user