kconfig: move lxdialog to scripts/kconfig/lxdialog
Sam Ravnborg [Fri, 16 Dec 2005 20:35:19 +0000 (21:35 +0100)]
The only lxdialog user i kconfig - for menuconfig.
So move it to reflect this.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

15 files changed:
scripts/Makefile
scripts/kconfig/Makefile
scripts/kconfig/lxdialog/BIG.FAT.WARNING [moved from scripts/lxdialog/BIG.FAT.WARNING with 100% similarity]
scripts/kconfig/lxdialog/Makefile [moved from scripts/lxdialog/Makefile with 100% similarity]
scripts/kconfig/lxdialog/checklist.c [moved from scripts/lxdialog/checklist.c with 100% similarity]
scripts/kconfig/lxdialog/colors.h [moved from scripts/lxdialog/colors.h with 100% similarity]
scripts/kconfig/lxdialog/dialog.h [moved from scripts/lxdialog/dialog.h with 100% similarity]
scripts/kconfig/lxdialog/inputbox.c [moved from scripts/lxdialog/inputbox.c with 100% similarity]
scripts/kconfig/lxdialog/lxdialog.c [moved from scripts/lxdialog/lxdialog.c with 100% similarity]
scripts/kconfig/lxdialog/menubox.c [moved from scripts/lxdialog/menubox.c with 99% similarity]
scripts/kconfig/lxdialog/msgbox.c [moved from scripts/lxdialog/msgbox.c with 100% similarity]
scripts/kconfig/lxdialog/textbox.c [moved from scripts/lxdialog/textbox.c with 100% similarity]
scripts/kconfig/lxdialog/util.c [moved from scripts/lxdialog/util.c with 100% similarity]
scripts/kconfig/lxdialog/yesno.c [moved from scripts/lxdialog/yesno.c with 100% similarity]
scripts/kconfig/mconf.c

index 67763ee..6f6b48f 100644 (file)
@@ -19,4 +19,4 @@ subdir-$(CONFIG_MODVERSIONS) += genksyms
 subdir-$(CONFIG_MODULES)     += mod
 
 # Let clean descend into subdirs
-subdir-        += basic lxdialog kconfig package
+subdir-        += basic kconfig package
index 9d67782..55bf955 100644 (file)
@@ -11,7 +11,7 @@ gconfig: $(obj)/gconf
        $< arch/$(ARCH)/Kconfig
 
 menuconfig: $(obj)/mconf
-       $(Q)$(MAKE) $(build)=scripts/lxdialog
+       $(Q)$(MAKE) $(build)=scripts/kconfig/lxdialog
        $< arch/$(ARCH)/Kconfig
 
 config: $(obj)/conf
@@ -115,6 +115,7 @@ endif
 
 clean-files    := lkc_defs.h qconf.moc .tmp_qtcheck \
                   .tmp_gtkcheck zconf.tab.c lex.zconf.c zconf.hash.c
+subdir- += lxdialog
 
 # Needed for systems without gettext
 KBUILD_HAVE_NLS := $(shell \
similarity index 99%
rename from scripts/lxdialog/menubox.c
rename to scripts/kconfig/lxdialog/menubox.c
index 2d91880..09512b5 100644 (file)
@@ -58,7 +58,7 @@
 
 #include "dialog.h"
 
-#define ITEM_IDENT 4   /* Indent of menu entries. Fixed for all menus */
+#define ITEM_IDENT 1   /* Indent of menu entries. Fixed for all menus */
 static int menu_width;
 
 /*
index d1ad405..d63d7fb 100644 (file)
@@ -325,7 +325,7 @@ static void cprint_init(void)
        memset(args, 0, sizeof(args));
        indent = 0;
        child_count = 0;
-       cprint("./scripts/lxdialog/lxdialog");
+       cprint("./scripts/kconfig/lxdialog/lxdialog");
        cprint("--backtitle");
        cprint(menu_backtitle);
 }