fix some potential problems.
This commit is contained in:
parent
fa2dd120e4
commit
ded4da6a6e
4 changed files with 16 additions and 5 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
1999-10-17 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
|
* docs/Makefile.am (.texi): Canceled because the dependecies can
|
||||||
|
be circulated.
|
||||||
|
* stage2/builtins.c (embed_func): Set BUF_TRACK to -1 before
|
||||||
|
writing the Stage 1.5 to the disk to clear the cache.
|
||||||
|
|
||||||
1999-10-17 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
1999-10-17 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||||
|
|
||||||
* stage2/boot.c (load_initrd): Change types of *RAMDISK and
|
* stage2/boot.c (load_initrd): Change types of *RAMDISK and
|
||||||
|
|
|
@ -9,6 +9,10 @@ noinst_SCRIPTS = $(HELP2MAN) $(SRC2TEXI)
|
||||||
EXTRA_DIST = menu.lst $(man_MANS) $(noinst_SCRIPTS) \
|
EXTRA_DIST = menu.lst $(man_MANS) $(noinst_SCRIPTS) \
|
||||||
$(EXAMPLES) $(multiboot_TEXINFOS)
|
$(EXAMPLES) $(multiboot_TEXINFOS)
|
||||||
|
|
||||||
|
# Cancel the rule %.texi -> %. This rule may confuse make to determine
|
||||||
|
# the dependecies.
|
||||||
|
.texi:
|
||||||
|
|
||||||
%.c.texi: %.c $(srcdir)/$(SRC2TEXI)
|
%.c.texi: %.c $(srcdir)/$(SRC2TEXI)
|
||||||
/bin/sh $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
|
/bin/sh $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
|
||||||
|
|
||||||
|
|
|
@ -168,11 +168,6 @@ DVIPS = dvips
|
||||||
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
TEXINPUTS=$(srcdir):$$TEXINPUTS \
|
||||||
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
|
||||||
|
|
||||||
.texi:
|
|
||||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
|
||||||
cd $(srcdir) \
|
|
||||||
&& $(MAKEINFO) `echo $< | sed 's,.*/,,'`
|
|
||||||
|
|
||||||
.texinfo.info:
|
.texinfo.info:
|
||||||
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
@cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
|
||||||
cd $(srcdir) \
|
cd $(srcdir) \
|
||||||
|
@ -407,6 +402,8 @@ distclean-generic clean-generic maintainer-clean-generic clean \
|
||||||
mostlyclean distclean maintainer-clean
|
mostlyclean distclean maintainer-clean
|
||||||
|
|
||||||
|
|
||||||
|
.texi:
|
||||||
|
|
||||||
%.c.texi: %.c $(srcdir)/$(SRC2TEXI)
|
%.c.texi: %.c $(srcdir)/$(SRC2TEXI)
|
||||||
/bin/sh $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
|
/bin/sh $(srcdir)/$(SRC2TEXI) $(srcdir) $< $@
|
||||||
|
|
||||||
|
|
|
@ -597,6 +597,9 @@ embed_func (char *arg, int flags)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Clear the cache. */
|
||||||
|
buf_track = -1;
|
||||||
|
|
||||||
/* Now perform the embedding. */
|
/* Now perform the embedding. */
|
||||||
for (i = 0; i < size; i++)
|
for (i = 0; i < size; i++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue