projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
41ea3ae
)
Fix the libraries Makefile
author
Ian Lynagh
<igloo@earth.li>
Wed, 5 Dec 2007 12:50:15 +0000
(12:50 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Wed, 5 Dec 2007 12:50:15 +0000
(12:50 +0000)
x && y
is not the same as
if x; then y; fi
as the latter doesn't fail when x fails
libraries/Makefile
patch
|
blob
|
history
diff --git
a/libraries/Makefile
b/libraries/Makefile
index
38bf497
..
bbcfdd2
100644
(file)
--- a/
libraries/Makefile
+++ b/
libraries/Makefile
@@
-300,7
+300,7
@@
doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
$(CABAL_HADDOCK_FLAGS); \
fi
ifneq "$(HSCOLOUR)" ""
- ifBuildable/ifBuildable $* && cp hscolour.css $*/dist/doc/html/$*/src/
+ if ifBuildable/ifBuildable $*; then cp hscolour.css $*/dist/doc/html/$*/src/; fi
endif
.PHONY: distclean clean clean.library.%