--- ./coreutils-5.2.1/Makefile.in.00	2004-03-11 09:57:59.000000000 +0100
+++ ./coreutils-5.2.1/Makefile.in	2008-09-09 21:08:43.000000000 +0200
@@ -284,7 +284,7 @@
 sharedstatedir = @sharedstatedir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
-SUBDIRS = lib src doc man m4 po tests
+SUBDIRS = lib src m4
 EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
   .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
   .x-sc_space_tab .x-sc_sun_os_names \
--- ./coreutils-5.2.1/Makefile.am.00	2004-02-15 00:42:37.000000000 +0100
+++ ./coreutils-5.2.1/Makefile.am	2008-09-09 21:08:25.000000000 +0200
@@ -1,6 +1,6 @@
 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
 
-SUBDIRS = lib src doc man m4 po tests
+SUBDIRS = lib src m4
 EXTRA_DIST = Makefile.cfg Makefile.maint GNUmakefile \
   .kludge-stamp .prev-version THANKS-to-translators THANKStt.in \
   .x-sc_space_tab .x-sc_sun_os_names \
--- ./coreutils-5.2.1/README.mini-utils.00	2008-09-09 21:32:21.000000000 +0200
+++ ./coreutils-5.2.1/README.mini-utils	2008-09-09 21:31:48.000000000 +0200
@@ -0,0 +1,12 @@
+
+	Gilbert Ashley <amigo@ibiblio.org>
+	
+This is an altered version of the original coreutils-5.2.1 archive.
+In order to save some space, these subdirectories of the sources
+have been removed:
+doc, man, old, po and tests
+
+Since src2pkg only uses internally a small subset of the coreutils,
+programs the Makefiles have been patched to not waste time compiling
+the unwanted programs. The patch does not remove the source files of
+the uncompiled programs.
--- ./coreutils-5.2.1/configure.ac.00	2004-03-02 23:47:31.000000000 +0100
+++ ./coreutils-5.2.1/configure.ac	2008-09-09 23:28:55.000000000 +0200
@@ -237,55 +237,8 @@
 
 AC_CONFIG_FILES(
   Makefile
-  doc/Makefile
   lib/Makefile
-  man/Makefile
   m4/Makefile
-  po/Makefile.in
   src/Makefile
-  tests/Makefile
-  tests/basename/Makefile
-  tests/chgrp/Makefile
-  tests/chmod/Makefile
-  tests/chown/Makefile
-  tests/cp/Makefile
-  tests/cut/Makefile
-  tests/date/Makefile
-  tests/dd/Makefile
-  tests/dircolors/Makefile
-  tests/du/Makefile
-  tests/expr/Makefile
-  tests/factor/Makefile
-  tests/fmt/Makefile
-  tests/head/Makefile
-  tests/install/Makefile
-  tests/join/Makefile
-  tests/ln/Makefile
-  tests/ls-2/Makefile
-  tests/ls/Makefile
-  tests/md5sum/Makefile
-  tests/misc/Makefile
-  tests/mkdir/Makefile
-  tests/mv/Makefile
-  tests/od/Makefile
-  tests/pr/Makefile
-  tests/rm/Makefile
-  tests/rmdir/Makefile
-  tests/seq/Makefile
-  tests/sha1sum/Makefile
-  tests/shred/Makefile
-  tests/sort/Makefile
-  tests/stty/Makefile
-  tests/sum/Makefile
-  tests/tac/Makefile
-  tests/tail-2/Makefile
-  tests/tail/Makefile
-  tests/test/Makefile
-  tests/touch/Makefile
-  tests/tr/Makefile
-  tests/tsort/Makefile
-  tests/unexpand/Makefile
-  tests/uniq/Makefile
-  tests/wc/Makefile
   )
 AC_OUTPUT
