Remove some redundant code from hi-rule.mk
[ghc-hetmet.git] / rules / hi-rule.mk
index 07b65ed..c30a093 100644 (file)
@@ -1,3 +1,15 @@
+# -----------------------------------------------------------------------------
+#
+# (c) 2009 The University of Glasgow
+#
+# This file is part of the GHC build system.
+#
+# To understand how the build system works and how to modify it, see
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
+#      http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
+#
+# -----------------------------------------------------------------------------
+
 
 # Here's an interesting rule!
 # The .hi file depends on the .o file,
@@ -12,14 +24,12 @@ define hi-rule # $1 = way
        @if [ ! -f $$@ ] ; then \
            echo Panic! $$< exists, but $$@ does not.; \
            exit 1; \
-       else exit 0 ; \
        fi
 
 %.$$($1_way_)hi-boot : %.$$($1_way_)o-boot
        @if [ ! -f $$@ ] ; then \
            echo Panic! $$< exists, but $$@ does not.; \
            exit 1; \
-       else exit 0 ; \
        fi
 endef