ChangeLog, Makefile.in, ct_c.awk, mk_cmds.sh.in:

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.
ChangeLog, Makefile.in:
  Makefile.in: Use _SS_DIR_OVERRIDE to make sure we get the
  	mk_cmds support files from the source tree.
bitmap-optimize
Theodore Ts'o 2000-07-04 12:34:34 +00:00
parent a3ee70f221
commit 1f00aafd9f
6 changed files with 28 additions and 6 deletions

View File

@ -1,3 +1,14 @@
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

View File

@ -38,7 +38,7 @@ BSDLIB_INSTALL_DIR = $(root_libdir)
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
@ -108,7 +108,7 @@ FILES= $(SRCS) $(MKCMDSFILES) $(HFILES) \
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

View File

@ -45,9 +45,11 @@
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]/ {

View File

@ -12,6 +12,10 @@ if test "x$1" = x ; then
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..."

View File

@ -1,3 +1,8 @@
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

View File

@ -11,7 +11,7 @@ INSTALL = @INSTALL@
@MCONFIG@
MK_CMDS= ../../lib/ss/mk_cmds
MK_CMDS= _SS_DIR_OVERRIDE=../../lib/ss ../../lib/ss/mk_cmds
PROGS= test_icount