+2000-07-03 <tytso@snap.thunk.org>
+
+ * ct_c.awk: Work around a bug in gawk 3.05
+
+ * mk_cmds.sh.in: Allow the build system to override the standard
+ location for finding the ct_c.* files by setting the
+ _SS_DIR_OVERRIDE environment variable.
+
+ * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
+ version in the source tree.
+
2000-05-25 <tytso@snap.thunk.org>
* Makefile: Add hack dependency rule so that parallel makes work
TAGS=etags
COMPILE_ET=../et/compile_et
-MK_CMDS=./mk_cmds
+MK_CMDS=_SS_DIR_OVERRIDE=. ./mk_cmds
# -I.. is so that ss/ss_err.h works
# -I$(srcdir)/.. is so that ss/ss.h works
all:: libss.a # libss_p.a lint
-std_rqs.c: std_rqs.ct $(MK_CMDS)
+std_rqs.c: std_rqs.ct mk_cmds
DIR=$(srcdir) $(MK_CMDS) $(srcdir)/std_rqs.ct
ss_err.c ss_err.h: ss_err.et
print " (char const *)0" > outfile
print "};" > outfile
printf "extern void %s __SS_PROTO;\n", subr > outfile
- subr_tab[cmdnum] = subr
- options_tab[cmdnum] = options
- help_tab[cmdnum] = help
+ # Work around a bug in gawk 3.0.5
+ awk_bug = cmdnum
+ subr_tab[awk_bug] = subr
+ options_tab[awk_bug] = options
+ help_tab[awk_bug] = help
}
/^[0-9]/ {
exit 1
fi
+if test -n "$_SS_DIR_OVERRIDE" ; then
+ DIR=$_SS_DIR_OVERRIDE;
+fi
+
if test ! -f $DIR/ct_c.sed -o ! -f $DIR/ct_c.awk ; then
DIR=$SS_DIR
# echo "Falling back to $DIR..."
+2000-07-04 <tytso@snap.thunk.org>
+
+ * Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
+ mk_cmds support files from the source tree.
+
1999-11-19 <tytso@valinux.com>
* Makefile.in (distclean): Remove TAGS and Makefile.in.old from
@MCONFIG@
-MK_CMDS= ../../lib/ss/mk_cmds
+MK_CMDS= _SS_DIR_OVERRIDE=../../lib/ss ../../lib/ss/mk_cmds
PROGS= test_icount