Include the full version number in the directory paths installed.
Change the version string so that it does not break 'make', and so that it has no '/' (it would be a hell if installed directories would mirror the SVN branches... :-/ )
Do not use implicit rules for the Makefile.
Simplify and enc=hance the --local test to refuse (un)installing.
Double-quotes variables, they are based on user input.
Eye-candy in the 'compile' and install messages.
/trunk/configure | 26 14 12 0 ++++++++++---------
/trunk/Makefile.in | 83 45 38 0 +++++++++++++++++++++++++++++++++---------------------------
2 files changed, 59 insertions(+), 50 deletions(-)
1 Lets you run 'make oldconfig' and 'make menuconfig' on systems
2 where shared libraries aren't easy. (There's no harm in using the
3 static version of libkconfig.)
4 Idea mentioned by Bertrand Marquis, but this patch is a bit simpler than his.
7 --- linux-2.6.8.1/scripts/kconfig/Makefile.old 2004-09-09 20:30:25.000000000 -0700
8 +++ linux-2.6.8.1/scripts/kconfig/Makefile 2004-09-09 20:47:51.000000000 -0700
10 libkconfig-objs := zconf.tab.o
12 host-progs := conf mconf qconf gconf
13 -conf-objs := conf.o libkconfig.so
14 -mconf-objs := mconf.o libkconfig.so
15 +conf-objs := conf.o $(libkconfig-objs)
16 +mconf-objs := mconf.o $(libkconfig-objs)
18 ifeq ($(MAKECMDGOALS),xconfig)
21 gconf-objs := gconf.o kconfig_load.o
24 -clean-files := libkconfig.so lkc_defs.h qconf.moc .tmp_qtcheck \
25 +clean-files := $(libkconfig-objs) lkc_defs.h qconf.moc .tmp_qtcheck \
26 .tmp_gtkcheck zconf.tab.c zconf.tab.h lex.zconf.c
28 # generated files seem to need this to find local include files