Delete generated/README.txt (the contents are in code.html now) so clean can just...
authorRob Landley <rob@landley.net>
Sat, 20 Sep 2014 19:20:28 +0000 (14:20 -0500)
committerRob Landley <rob@landley.net>
Sat, 20 Sep 2014 19:20:28 +0000 (14:20 -0500)
Makefile
generated/README.txt [deleted file]
scripts/make.sh

index 4784ffb..ad3aaf9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,10 +41,7 @@ uninstall:
        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*
diff --git a/generated/README.txt b/generated/README.txt
deleted file mode 100644 (file)
index 93a1039..0000000
+++ /dev/null
@@ -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.
index 165b8f1..dab5206 100755 (executable)
@@ -21,6 +21,7 @@ do_loudly()
   "$@"
 }
 
+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.