Rebuild the docs too
This commit is contained in:
parent
7c2a6e2223
commit
315e4713ff
@ -18,6 +18,7 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
BuildRequires: python >= 2.7
|
BuildRequires: python >= 2.7
|
||||||
BuildRequires: pkgconfig(gudev-1.0) >= 147
|
BuildRequires: pkgconfig(gudev-1.0) >= 147
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,18 +46,17 @@ functionality from the command line.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%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
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static --enable-gtk-doc
|
||||||
V=1 make %{?_smp_mflags}
|
V=1 make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
|
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
find %{buildroot}%{_datadir}/gtk-doc |xargs touch --reference configure.ac
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
Loading…
Reference in New Issue
Block a user