X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc.mk;h=706136b340ebafef64cf23711528891542a5c2c3;hb=33642e6578d9c5fe83005f75fbbfd713222b8196;hp=346e561156a524269ceca5ec40aed94ae0858686;hpb=852373b7f38344322964130295a73ed5ee8591e1;p=ghc-hetmet.git diff --git a/ghc.mk b/ghc.mk index 346e561..706136b 100644 --- a/ghc.mk +++ b/ghc.mk @@ -717,6 +717,11 @@ install : install_mingw install_mingw : $(INPLACE_MINGW) "$(CP)" -Rp $(INPLACE_MINGW) $(prefix) +install : install_perl +.PHONY: install_perl +install_perl : $(INPLACE_PERL) + "$(CP)" -Rp $(INPLACE_PERL) $(prefix) + endif # Windows ifneq "$(BINDIST)" "YES" @@ -1081,6 +1086,15 @@ SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) endif # ----------------------------------------------------------------------------- +# sdisting libraries + +# Use manually, with e.g.: +# make sdist_directory + +sdist_%: + inplace/bin/ghc-cabal sdist libraries/$* dist-install + +# ----------------------------------------------------------------------------- # Cleaning .PHONY: clean