build endian.h via a temporary file so that we don't leave an
authorK. Richard Pixley <rich@cygnus>
Thu, 11 Feb 1993 03:15:39 +0000 (03:15 +0000)
committerK. Richard Pixley <rich@cygnus>
Thu, 11 Feb 1993 03:15:39 +0000 (03:15 +0000)
incomplete file lying around on interrupted builds.

sim/ChangeLog
sim/Makefile.in

index b601393..e80f35f 100644 (file)
@@ -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
index dd5708c..12faaab 100644 (file)
@@ -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