From 7413f20a5e7239807519f377b843750b31a7426f Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Thu, 11 Feb 1993 03:15:39 +0000 Subject: [PATCH] build endian.h via a temporary file so that we don't leave an incomplete file lying around on interrupted builds. --- sim/ChangeLog | 6 ++++++ sim/Makefile.in | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/sim/ChangeLog b/sim/ChangeLog index b601393ed3..e80f35fa7f 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,9 @@ +Wed Feb 10 20:12:27 1993 K. Richard Pixley (rich@ok.cygnus.com) + + * Makefile.in (endian.h): build endian.h via a temporary file so + that we don't leave an incomplete file lying around on + interrupted builds. + Mon Feb 8 11:46:06 1993 Steve Chamberlain (sac@thepub.cygnus.com) * Makefile.in, configure.in: if target isn't supported, build a diff --git a/sim/Makefile.in b/sim/Makefile.in index dd5708caca..12faaab329 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -93,10 +93,11 @@ clean: $(CLEAN) install: $(INSTALL) +### build endian.h via a temporary so that interrupted builds will not +### leave an incomplete endian.h lying around. endian.h: endian - ./endian > endian.h - - + ./endian > e.h + mv -f e.h endian.h ### none