Changed manual page installation mechanism
This commit is contained in:
@@ -128,7 +128,7 @@ gen_tpcheck(tpp, union_allowed)
|
||||
break;
|
||||
case UNION:
|
||||
if (! union_allowed) {
|
||||
error("union initialisation not allowed");
|
||||
error("union initialization not allowed");
|
||||
gen_error = pack_level;
|
||||
break;
|
||||
}
|
||||
@@ -432,7 +432,7 @@ pad(tpx)
|
||||
case UNION:
|
||||
#ifndef NOROPTION
|
||||
if (options['R']) {
|
||||
warning("initialisation of unions not allowed");
|
||||
warning("initialization of unions not allowed");
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
@@ -583,7 +583,7 @@ ch_array(tpp, ex)
|
||||
arith dim = tp->tp_size / tp->tp_up->tp_size;
|
||||
|
||||
if (length > dim) {
|
||||
expr_warning(ex, "too many initialisers");
|
||||
expr_warning(ex, "too many initializers");
|
||||
}
|
||||
length = dim;
|
||||
}
|
||||
@@ -700,13 +700,13 @@ con_int(ex)
|
||||
illegal_init_cst(ex)
|
||||
struct expr *ex;
|
||||
{
|
||||
expr_error(ex, "illegal initialisation constant");
|
||||
expr_error(ex, "illegal initialization constant");
|
||||
gen_error = pack_level;
|
||||
}
|
||||
|
||||
too_many_initialisers()
|
||||
{
|
||||
error("too many initialisers");
|
||||
error("too many initializers");
|
||||
gen_error = pack_level;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -126,12 +126,13 @@ all: make.main
|
||||
install: all
|
||||
cp main $(TARGET_HOME)/lib.bin/em_cemcom
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/cemcom.1 $(TARGET_HOME)/man/em_cemcom.6 ; \
|
||||
then cp $(SRC_DIR)/cemcom.1 em_cemcom.6 ; \
|
||||
mk_manpage em_cemcom.6 $(TARGET_HOME) ; \
|
||||
rm -f em_cemcom.6 ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp main $(TARGET_HOME)/lib.bin/em_cemcom
|
||||
-cmp $(SRC_DIR)/cemcom.1 $(TARGET_HOME)/man/em_cemcom.6
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
Reference in New Issue
Block a user