From d701a82321ad2f3e5bfa16639e93532294cad4ce Mon Sep 17 00:00:00 2001 From: Paulius Zaleckas Date: Wed, 5 May 2010 13:09:36 +0300 Subject: Remove gtk-doc documentations from target On my target rootfs it is installed documentation for: atk, cairo, gdk, gdk-pixbuf, gio, glib, gobject, gtk, pango It ocupies 34M of space. Configure option --disable-gtk-doc doesn't prevent installation of it. So we should remove them manually if documentation is disabled. [Peter: also remove manual rm's from hal/libxml2/libglade] Signed-off-by: Paulius Zaleckas Signed-off-by: Peter Korsgaard --- package/libxml2/libxml2.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/libxml2') diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk index 7680aa61f..3a3e00706 100644 --- a/package/libxml2/libxml2.mk +++ b/package/libxml2/libxml2.mk @@ -34,9 +34,7 @@ $(eval $(call AUTOTARGETS,package,libxml2,host)) $(LIBXML2_HOOK_POST_INSTALL): $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config $(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" $(STAGING_DIR)/usr/bin/xml2-config - rm -rf $(TARGET_DIR)/usr/share/aclocal \ - $(TARGET_DIR)/usr/share/doc/libxml2-$(LIBXML2_VERSION) \ - $(TARGET_DIR)/usr/share/gtk-doc + rm -rf $(TARGET_DIR)/usr/share/aclocal touch $@ # libxml2 for the host -- cgit v1.2.3