Commit fed3d813 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix the libraries Makefile

    x && y
is not the same as
    if x; then y; fi
as the latter doesn't fail when x fails
parent 41ea3aec
...@@ -300,7 +300,7 @@ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \ ...@@ -300,7 +300,7 @@ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \
$(CABAL_HADDOCK_FLAGS); \ $(CABAL_HADDOCK_FLAGS); \
fi fi
ifneq "$(HSCOLOUR)" "" ifneq "$(HSCOLOUR)" ""
ifBuildable/ifBuildable $* && cp hscolour.css $*/dist/doc/html/$*/src/ if ifBuildable/ifBuildable $*; then cp hscolour.css $*/dist/doc/html/$*/src/; fi
endif endif
.PHONY: distclean clean clean.library.% .PHONY: distclean clean clean.library.%
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment