projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e73cd20
)
Remove some redundant code from hi-rule.mk
author
Ian Lynagh
<igloo@earth.li>
Sat, 30 May 2009 19:37:29 +0000
(19:37 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 30 May 2009 19:37:29 +0000
(19:37 +0000)
rules/hi-rule.mk
patch
|
blob
|
history
diff --git
a/rules/hi-rule.mk
b/rules/hi-rule.mk
index
04550b9
..
c30a093
100644
(file)
--- a/
rules/hi-rule.mk
+++ b/
rules/hi-rule.mk
@@
-24,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