--- gforth/Makefile.in 1997/03/23 21:22:02 1.93 +++ gforth/Makefile.in 1997/03/28 14:06:22 1.96 @@ -162,7 +162,7 @@ SOURCES = CVS compat Makefile.in gforth- strerror.c strsignal.c dblsub.c \ INSTALL.DOS makefile.dos mkdosmf.sed configure.bat dosconf.h \ gforth-makeimage.bat startup.dos history.dos mkinstalldirs \ - configure.cmd mkos2mf.sed os2conf.h makefile.os2 \ + configure.cmd mkos2mf.sed os2conf.h makefile.os2 gforth-makeimage.cmd \ glosgen.glo glossaries.doc \ $(INCLUDES) $(FORTH_SRC) @@ -181,7 +181,7 @@ FORTH_GEN = $(FORTH_GEN0) @KERNEL@ gfor FORTH_GEN1 = $(FORTH_GEN0) @kernel_fi@ #distributed documentation -DOCDIST = gforth.info* gforth.ps +DOCDIST = gforth.info gforth.info-* gforth.ps #stuff in a binonly distribution BINONLYDIST = config.status Makefile gforth gforth-ditc \ @@ -204,7 +204,7 @@ all: version.fs more #this rule avoids remaking everything after minor changes in Makefile.in version-stamp: Makefile.in - (test -r $@ && test x'$(VERSION)' = x`cat $@`) || echo $(VERSION) >$@ + if test -r $@ && test x'$(VERSION)' = x`cat $@` ; then true ; else echo $(VERSION) > $@ ; fi version.h: version-stamp echo "static char gforth_version[]=\"$(VERSION)\" ;" >$@ @@ -327,7 +327,7 @@ install: gforth $(FORTH_SRC) kernel.fi g $(INSTALL_DATA) kernel.fi $(libdir)/gforth/$(VERSION) $(RM) gforth.fi; $(MAKE) gforth.fi #gforth.fi contains some path names $(INSTALL_DATA) gforth.fi $(libdir)/gforth/$(VERSION) - sed s:^$(srcdir)/:$(datadir)/gforth/$(VERSION)/: gforth.TAGS >TAGS; $(INSTALL_DATA) TAGS $(datadir)/gforth/$(VERSION) + sed 's:^$(srcdir)/:$(datadir)/gforth/$(VERSION)/:' gforth.TAGS >TAGS; $(INSTALL_DATA) TAGS $(datadir)/gforth/$(VERSION) if test -d $(emacssitelispdir); then \ $(INSTALL_DATA) $(srcdir)/gforth.el $(emacssitelispdir); \ else \ @@ -352,7 +352,7 @@ check test: gforth gforth.fi $(FORTH) other-tests.fs -e bye $(FORTH) code.fs checkans.fs -e bye @echo 'Expect no differences' - $(FORTH) -m 100000 prims2x.fs -e "s\" $(srcdir)/primitives.b\" ' output-c process-file bye"| diff -c - $(srcdir)/primitives.i + $(FORTH) -m 100000 prims2x.fs -e "s\" $(srcdir)/primitives.b\"' output-c process-file bye"| diff -c - $(srcdir)/primitives.i bench: gforth gforth.fi @echo 'Each benchmark takes about 30s on a 486-66 (gcc-2.6.3 -DFORCE_REG)' @@ -366,11 +366,11 @@ dvi: gforth.dvi gforth: $(OBJECTS) $(OBJECTS0) -$(CP) gforth gforth~ $(GCC) $(LDFLAGS) $(OBJECTS) $(OBJECTS0) $(LDLIBS) -o $@ - @MAKE_EXE@ + @GFORTH_EXE@ gforth-ditc: $(OBJECTS_DITC) $(OBJECTS0) $(GCC) $(LDFLAGS) $(OBJECTS_DITC) $(OBJECTS0) $(LDLIBS) -o $@ - @MAKE_EXE@ + @GFORTHDITC_EXE@ kernl16l.fi-: $(KERN_SRC) version.fs mach16l.fs $(FORTH_GEN0) $(FORTHK) -e 's" mach16l.fs"' main.fs -e "save-cross kernl16l.fi- $(bindir)/gforth-$(VERSION) bye" @@ -394,16 +394,16 @@ kernl%.fi-: mach%.fs $(KERN_SRC) version $(FORTHK) -e 's" $<"' main.fs -e "save-cross $@ $(bindir)/gforth-$(VERSION) bye" kernl16b.fi: $(KERNLS) - -$(CP) kernl16b.fi kernl16b.fi~ - -$(CP) kernl16b.fi- kernl16b.fi + -$(CP) $@ $@~ + -$(CP) $@- $@ kernl16l.fi: $(KERNLS) - -$(CP) kernl16l.fi kernl16l.fi~ - -$(CP) kernl16l.fi- kernl16l.fi + -$(CP) $@ $@~ + -$(CP) $@- $@ kernl32b.fi: $(KERNLS) - -$(CP) kernl32b.fi kernl32b.fi~ - -$(CP) kernl32b.fi- kernl32b.fi + -$(CP) $@ $@~ + -$(CP) $@- $@ kernl32l.fi: $(KERNLS) -$(CP) kernl32l.fi kernl32l.fi~ @@ -505,7 +505,7 @@ gforth.ps: gforth.dvi info: gforth.info -gforth.info: gforth.texi +gforth.info gforth.info-*: gforth.texi -$(MAKEINFO) gforth.texi html: gforth.texi