Changed manual page installation mechanism
This commit is contained in:
@@ -72,7 +72,7 @@ initial_value(register struct type **tpp; register struct expr **expp;) :
|
||||
free_expression(*expp);
|
||||
*expp = 0;
|
||||
} else {
|
||||
expr_error(*expp,"illegal initialisation");
|
||||
expr_error(*expp,"illegal initialization");
|
||||
free_expression(*expp);
|
||||
*expp = 0;
|
||||
}
|
||||
@@ -602,7 +602,7 @@ ch_array(tpp, ex)
|
||||
} else
|
||||
#endif
|
||||
if (length > dim + 1) {
|
||||
expr_strict(ex, "too many initialisers");
|
||||
expr_strict(ex, "too many initializers");
|
||||
}
|
||||
length = dim;
|
||||
}
|
||||
@@ -725,13 +725,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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,12 +131,13 @@ install: all
|
||||
@-mkdir $(TARGET_HOME)/lib.bin
|
||||
cp main $(TARGET_HOME)/lib.bin/em_cemcom.ansi
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/cemcom.ansi.1 $(TARGET_HOME)/man/cemcom.ansi.6 ; \
|
||||
then cp $(SRC_DIR)/cemcom.ansi.1 cemcom.ansi.6 ; \
|
||||
mk_manpage cemcom.ansi.6 $(TARGET_HOME) ; \
|
||||
rm -f cemcom.ansi.6 ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp main $(TARGET_HOME)/lib.bin/em_cemcom.ansi
|
||||
-cmp $(SRC_DIR)/cemcom.ansi.1 $(TARGET_HOME)/man/cemcom.ansi.6
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -65,12 +65,13 @@ all: make.main
|
||||
install: all
|
||||
cp main $(TARGET_HOME)/lib.bin/cpp.ansi
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/ncpp.6 $(TARGET_HOME)/man/cpp.ansi.6 ; \
|
||||
then cp $(SRC_DIR)/ncpp.6 cpp.ansi.6 ; \
|
||||
mk_manpage cpp.ansi.6 $(TARGET_HOME) ; \
|
||||
rm -f cpp.ansi.6 ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp main $(TARGET_HOME)/lib.bin/cpp.ansi
|
||||
-cmp $(SRC_DIR)/ncpp.6 $(TARGET_HOME)/man/cpp.ansi.6
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
@@ -37,13 +37,12 @@ install: all
|
||||
cp lpass2 $(TARGET_HOME)/lib.bin/lint/lpass2
|
||||
cp lint.exec $(TARGET_HOME)/bin/lint
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/lint.1 $(TARGET_HOME)/man/lint.1 ; \
|
||||
then mk_manpage $(SRC_DIR)/lint.1 $(TARGET_HOME) ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp lpass2 $(TARGET_HOME)/lib.bin/lint/lpass2
|
||||
-cmp lint.exec $(TARGET_HOME)/bin/lint
|
||||
-cmp $(SRC_DIR)/lint.1 $(TARGET_HOME)/man/lint.1
|
||||
|
||||
pr:
|
||||
@pr $(SRC_DIR)/proto.make $(SRC_DIR)/inpdef.str $(SRC_DIR)/class.h \
|
||||
|
||||
@@ -81,13 +81,12 @@ all: f2c
|
||||
install: all
|
||||
cp f2c $(TARGET_HOME)/lib.bin/f2c
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/f2c.6 $(TARGET_HOME)/man/f2c.6 ; \
|
||||
cp $(SRC_DIR)/f2c.h $(TARGET_HOME)/include/_tail_cc/f2c.h ; \
|
||||
then mk_manpage $(SRC_DIR)/f2c.6 $(TARGET_HOME) ; \
|
||||
cp $(SRC_DIR)/f2c.h $(TARGET_HOME)/include/_tail_cc/f2c.h ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp f2c $(TARGET_HOME)/lib.bin/f2c
|
||||
-cmp $(SRC_DIR)/f2c.6 $(TARGET_HOME)/man/f2c.6
|
||||
-cmp $(SRC_DIR)/f2c.h $(TARGET_HOME)/include/_tail_cc/f2c.h
|
||||
|
||||
lint: $(CFILES) tokdefs.h
|
||||
|
||||
@@ -52,15 +52,13 @@ all: make.main
|
||||
|
||||
install: all
|
||||
cp main $(TARGET_HOME)/lib.bin/em_m2
|
||||
@-mkdir $(TARGET_HOME)/man
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/em_m2.6 $(SRC_DIR)/modula-2.1 $(TARGET_HOME)/man ; \
|
||||
then mk_manpage $(SRC_DIR)/em_m2.6 $(TARGET_HOME) ; \
|
||||
mk_manpage $(SRC_DIR)/modula-2.1 $(TARGET_HOME) ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp main $(TARGET_HOME)/lib.bin/em_m2
|
||||
-cmp $(SRC_DIR)/em_m2.6 $(TARGET_HOME)/man/em_m2.6
|
||||
-cmp $(SRC_DIR)/modula-2.1 $(TARGET_HOME)/man/modula-2.1
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
@@ -40,12 +40,11 @@ all: make.main
|
||||
install: all
|
||||
cp main $(TARGET_HOME)/bin/m2mm
|
||||
if [ $(DO_MACHINE_INDEP) = y ] ; \
|
||||
then cp $(SRC_DIR)/m2mm.1 $(TARGET_HOME)/man/m2mm.1 ; \
|
||||
then mk_manpage $(SRC_DIR)/m2mm.1 $(TARGET_HOME) ; \
|
||||
fi
|
||||
|
||||
cmp: all
|
||||
-cmp main $(TARGET_HOME)/lib.bin/em_m2
|
||||
-cmp $(SRC_DIR)/m2mm.1 $(TARGET_HOME)/man/m2mm.1
|
||||
|
||||
opr:
|
||||
make pr | opr
|
||||
|
||||
Reference in New Issue
Block a user