summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-12-16 09:02:42 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-12-16 09:02:42 +0000
commit733e54845f85ea06e807edcc03ee95c1617692f0 (patch)
tree4a735e32d3bde66dd2a941d722b2e96ba29fd344
parent524a2a75ceb5a1a9744fb73e0b9f954e56275c7e (diff)
Changed default answer for new configuration to yes instead of no
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1195 17b73243-c579-4c4c-a9d2-2d5706c11dac
-rw-r--r--Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 978d9327..eb5caa09 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,7 @@
#
#
# @enddesc
-# @version $Id: Makefile,v 1.59 1999-12-01 22:26:32 lanfer Exp $
+# @version $Id: Makefile,v 1.60 1999-12-16 09:02:42 allen Exp $
# @@*/
##################################################################################
@@ -523,16 +523,16 @@ endif
%-config:
@echo $(DIVIDER)
@echo Configuration $(@:%-config=%) does not exist.
- echo Setup configuration $(@:%-config=%) \(no\)?
+ echo Setup configuration $(@:%-config=%) \(yes\)?
read yesno rest ;\
- if [ "x$$yesno" = "xyes" -o "x$$yesno" = "xy" -o "x$$yesno" = "xYES" -o "x$$yesno" = "xY" ] ;\
+ if [ "x$$yesno" = "xno" -o "x$$yesno" = "xn" -o "x$$yesno" = "xNO" -o "x$$yesno" = "xN" ] ;\
then \
+ echo Setup cancelled ; \
+ else \
echo Setting up new configuration $(@:%-config=%); \
$(SETUP_ENV) $(PERL) -s $(SETUP) $(SETUP_OPTIONS) $(@:%-config=%); \
echo $(DIVIDER) ; \
echo Use $(MAKE) $(@:%-config=%) to build the configuration.; \
- else \
- echo Setup cancelled ; \
fi
@echo $(DIVIDER)
@@ -662,16 +662,16 @@ downsize:
%::
@echo $(DIVIDER)
- echo Setup configuration $@ \(no\)?
+ echo Setup configuration $@ \(yes\)?
read yesno rest ;\
- if [ "x$$yesno" = "xyes" -o "x$$yesno" = "xy" -o "x$$yesno" = "xYES" -o "x$$yesno" = "xY" ] ;\
+ if [ "x$$yesno" = "xno" -o "x$$yesno" = "xn" -o "x$$yesno" = "xNO" -o "x$$yesno" = "xN" ] ;\
then \
+ echo Setup cancelled ; \
+ else \
echo Setting up new configuration $@; \
$(SETUP_ENV) $(PERL) -s $(SETUP) $(SETUP_OPTIONS) $@; \
echo $(DIVIDER) ; \
echo Use $(MAKE) $@ to build the configuration.; \
- else \
- echo Setup cancelled ; \
fi
@echo $(DIVIDER)