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 # Makefile for each steps
2 # Copyright 2006 Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
4 CT_STEPS := libc_check_config \
24 @$(CT_NG) RESTART=$@ STOP=$@ build
26 $(patsubst %,+%,$(CT_STEPS)):
27 @$(CT_NG) STOP=$(patsubst +%,%,$@) build
29 $(patsubst %,%+,$(CT_STEPS)):
30 @$(CT_NG) RESTART=$(patsubst %+,%,$@) build
33 @echo ' list-steps - List all build steps'
36 @echo 'Available build steps, in order:'
37 @for step in $(CT_STEPS); do \
40 @echo 'Use "$(CT_NG) <step>" to execute only that step.'
41 @echo 'Use "$(CT_NG) +<step>" to execute up to that step.'
42 @echo 'Use "$(CT_NG) <step>+" to execute from that step onward.'