Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Remove gtk-doc documentations from target
@ 2010-05-05 10:09 Paulius Zaleckas
  2010-05-05 10:17 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Paulius Zaleckas @ 2010-05-05 10:09 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
---

 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 607ec6d..5da21d8 100644
--- a/Makefile
+++ b/Makefile
@@ -410,6 +410,7 @@ ifneq ($(BR2_HAVE_DOCUMENTATION),y)
 	rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man
 	rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info
 	rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc
+	rm -rf $(TARGET_DIR)/usr/share/gtk-doc
 endif
 	find $(TARGET_DIR) -type f -perm +111 | xargs $(STRIPCMD) 2>/dev/null || true
 	$(TARGET_LDCONFIG) -r $(TARGET_DIR) 2>/dev/null

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] Remove gtk-doc documentations from target
  2010-05-05 10:09 [Buildroot] [PATCH] Remove gtk-doc documentations from target Paulius Zaleckas
@ 2010-05-05 10:17 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2010-05-05 10:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Paulius" == Paulius Zaleckas <paulius.zaleckas@gmail.com> writes:

 Paulius> On my target rootfs it is installed documentation for:
 Paulius> atk, cairo, gdk, gdk-pixbuf, gio, glib, gobject, gtk, pango

 Paulius> It ocupies 34M of space. Configure option --disable-gtk-doc doesn't
 Paulius> prevent installation of it. So we should remove them manually if
 Paulius> documentation is disabled.

I was thinking the exact same thing yesterday - Committed, thanks.

I'll get rid of the manual cleanups we do in some places as well:

git grep usr/share/gtk-doc
hal/hal.mk:     rm -rf $(TARGET_DIR)/usr/share/gtk-doc
libglade/libglade.mk:   rm -rf $(TARGET_DIR)/usr/share/gtk-doc \
libxml2/libxml2.mk:            $(TARGET_DIR)/usr/share/gtk-doc

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-05 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-05 10:09 [Buildroot] [PATCH] Remove gtk-doc documentations from target Paulius Zaleckas
2010-05-05 10:17 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox