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 <paulius.zaleckas@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Paulius Zaleckas
2010-05-05 13:09:36 +03:00
committed by Peter Korsgaard
parent 79db1ff5ac
commit d701a82321
4 changed files with 3 additions and 6 deletions

View File

@@ -12,7 +12,6 @@ LIBGLADE_DEPENDENCIES = host-pkg-config libglib2 libgtk2 atk libxml2
$(eval $(call AUTOTARGETS,package,libglade))
$(LIBGLADE_HOOK_POST_INSTALL):
rm -rf $(TARGET_DIR)/usr/share/gtk-doc \
$(TARGET_DIR)/usr/share/xml/libglade \
rm -rf $(TARGET_DIR)/usr/share/xml/libglade \
$(TARGET_DIR)/usr/bin/libglade-convert
touch $@