changeset 1492:8bf5f528d352 draft

Delete generated/README.txt (the contents are in code.html now) so clean can just remove the "generated" directory entirely.
author Rob Landley <rob@landley.net>
date Sat, 20 Sep 2014 14:20:28 -0500
parents 24d21baf52a3
children 74b29c369420
files Makefile generated/README.txt scripts/make.sh
diffstat 3 files changed, 2 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Sep 20 14:12:55 2014 -0500
+++ b/Makefile	Sat Sep 20 14:20:28 2014 -0500
@@ -41,10 +41,7 @@
 	scripts/install.sh --long --uninstall
 
 clean::
-	rm -rf toybox toybox_unstripped generated/testdir generated/build.sh \
-		.singleconfig .singleconfig.old generated/obj \
-		generated/Config.* generated/*.h generated/*.dat \
-		generated/instlist generated/mkflags generated/config2help
+	rm -rf toybox toybox_unstripped generated .singleconfig*
 
 distclean: clean
 	rm -f toybox_old .config*
--- a/generated/README.txt	Sat Sep 20 14:12:55 2014 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-All the files in this directory except this README are generated by the
-build.  (See scripts/make.sh)
-
-config.h: CFG_COMMAND and USE_COMMAND() macros set by menuconfig via .config.
-
-Config.in: Kconfig entries for each command.  Included by top level Config.in.
-           The help text in here is used to generated help.h
-
-help.h: Help text strings for use by "help" command.  Building this file
-        requires python on the host system, so the prebuilt file is shipped
-        in the build tarball to avoid requiring python to build toybox.
-
-newtoys.h: List of NEWTOY() or OLDTOY() macros for all available commands.
-           Associates command_main() functions with command names, provides
-           option string for command line parsing (see lib/args.c), specifies
-           where to install each command and whether toysh should fork before
-           calling it.
--- a/scripts/make.sh	Sat Sep 20 14:12:55 2014 -0500
+++ b/scripts/make.sh	Sat Sep 20 14:20:28 2014 -0500
@@ -21,6 +21,7 @@
   "$@"
 }
 
+mkdir -p generated
 echo "Make generated/config.h from $KCONFIG_CONFIG."
 
 # This long and roundabout sed invocation is to make old versions of sed happy.