[mingw-webkitgtk] Don't build documentation

Kalev Lember kalev at fedoraproject.org
Wed Mar 28 19:08:13 UTC 2012


commit d977de820a5cfec3382d7ce1186c302c9791383e
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Mar 28 22:03:36 2012 +0300

    Don't build documentation
    
    Instead of removing all built docs at the end of %install, just skip
    building it in the first place.

 mingw-webkitgtk.spec |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/mingw-webkitgtk.spec b/mingw-webkitgtk.spec
index 60f555e..001e20b 100644
--- a/mingw-webkitgtk.spec
+++ b/mingw-webkitgtk.spec
@@ -166,6 +166,7 @@ autoreconf --verbose --install -I Source/autotools
 			--enable-static --enable-shared		\
 			--disable-spellcheck			\
 			--disable-geolocation			\
+			--disable-gtk-doc-html			\
 %{?with_coverage:	--enable-coverage		}	\
 %{?with_debug:		--enable-debug			}	\
 %{?with_jit:		--enable-jit			}
@@ -182,10 +183,6 @@ install -m 755 build_win64/Programs/.libs/GtkLauncher.exe %{buildroot}%{mingw64_
 # Drop all .la files
 find $RPM_BUILD_ROOT -name "*.la" -delete
 
-# Remove docs which duplicate those in Fedora native.
-rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/gtk-doc
-rm -rf $RPM_BUILD_ROOT%{mingw64_datadir}/gtk-doc
-
 %mingw_find_lang webkit-2.0
 
 ## Copy over and rename the various files for %%doc inclusion.


More information about the scm-commits mailing list