From 94a4603481b9fc663a72549b4cd0dcbd95fca062 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 20 Sep 2014 14:20:28 -0500 Subject: Delete generated/README.txt (the contents are in code.html now) so clean can just remove the "generated" directory entirely. --- Makefile | 5 +---- generated/README.txt | 17 ----------------- scripts/make.sh | 1 + 3 files changed, 2 insertions(+), 21 deletions(-) delete mode 100644 generated/README.txt diff --git a/Makefile b/Makefile index 4784ffb0..ad3aaf92 100644 --- 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 index 93a10398..00000000 --- a/generated/README.txt +++ /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. diff --git a/scripts/make.sh b/scripts/make.sh index 165b8f1e..dab52061 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -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. -- cgit v1.2.3