X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=libraries%2FMakefile;h=82cf02e979269d90c66b9b55319444e0aa988002;hp=30043ffa64162a9b007e172e1f61e49c14d7ce6e;hb=0d126b9c0dc9299a860fc6bb0e1dee05eb583de2;hpb=388ed76ebf24267cc2f9d752b7920b8c0085bec1 diff --git a/libraries/Makefile b/libraries/Makefile index 30043ff..82cf02e 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -146,7 +146,7 @@ doc.library.%: stamp/configure.library.build$(CONFIGURE_STAMP_EXTRAS).% \ %/setup/Setup cd $* && setup/Setup haddock -.PHONY: install.library.% +.PHONY: install install-docs install.library.% INSTALL_DIR=$(prefix)/share/ghc/doc/html/ @@ -158,6 +158,10 @@ install: $(foreach SUBDIR,$(SUBDIRS),install.library.$(SUBDIR)) $(INSTALL_DATA) $(prefix)/share/ghc/doc/html/base/*.js $(INSTALL_DIR) $(INSTALL_DATA) $(prefix)/share/ghc/doc/html/base/*.gif $(INSTALL_DIR) +# Cabal doesn't let us ask to install docs only, so do nothing here +install-docs: + @: + # Ideally this would depend on a stamp/build.library.%, but if it does # then we can't change the libraries and then just rerun make. # Thus if you install without building then it will just break.