X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=distrib%2FMakefile;h=06c1f2947f7603d400bb8783147a5b09b7e7380c;hb=732f2b1f99b2d74784acb6cacb6a4a18c87d5786;hp=f05899605b93a2b7969ee358d543be817f1ab654;hpb=10826f440c5ff666a70c03ddc3c94acffbf10102;p=ghc-hetmet.git diff --git a/distrib/Makefile b/distrib/Makefile index f058996..06c1f29 100644 --- a/distrib/Makefile +++ b/distrib/Makefile @@ -1,20 +1,21 @@ include Makefile-vars -.PHONY: in-place mk-version-symlinks install +.PHONY: mk-version-symlinks install -in-place :: - @if test -x "./post-inplace-script" ; then \ - echo "Running project-specific post-inplace script ..." ; \ - ./post-inplace-script $(platform) `pwd` \ - $(package)-$(version); \ - echo "Done" ; \ - fi - @echo "Finished configuring..to use, add `pwd`/bin/$(platform) to your PATH." +#.PHONY: in-place +# This has bitrotted: +#in-place :: +# @if test -x "./post-inplace-script" ; then \ +# echo "Running project-specific post-inplace script ..." ; \ +# ./post-inplace-script $(platform) `pwd` \ +# $(package)-$(version); \ +# echo "Done" ; \ +# fi +# @echo "Finished configuring..to use, add `pwd`/bin/$(platform) to your PATH." install :: $(INSTALL_DIR) $(bindir) - (cd lib/$(platform); find . -type d -exec sh -c '$(INSTALL_DIR) $$0 $(libdir)/$$0' {} \; ) (cd share; find . -type d -exec sh -c '$(INSTALL_DIR) $(datadir)/$$0' {} \; ) install:: @@ -24,6 +25,7 @@ install:: $(MAKE) -C rts install DOING_BIN_DIST=YES $(MAKE) -C libraries install DOING_BIN_DIST=YES $(MAKE) -C compiler install DOING_BIN_DIST=YES + $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(libdir) install :: install-docs postinstall denounce