4 .PHONY: install-strip install postinstall denounce show-install-setup
9 # @if test -x "./post-inplace-script" ; then \
10 # echo "Running project-specific post-inplace script ..." ; \
11 # ./post-inplace-script $(platform) `pwd` \
12 # $(package)-$(version); \
15 # @echo "Finished configuring..to use, add `pwd`/bin/$(platform) to your PATH."
18 $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
21 $(INSTALL_DIR) $(bindir)
24 $(MAKE) -C includes install DOING_BIN_DIST=YES
25 $(MAKE) -C driver install DOING_BIN_DIST=YES
26 $(MAKE) -C utils install DOING_BIN_DIST=YES
27 $(MAKE) -C rts install DOING_BIN_DIST=YES
28 $(MAKE) -C libraries install DOING_BIN_DIST=YES
29 $(MAKE) -C compiler install DOING_BIN_DIST=YES
30 $(MAKE) -C gmp install DOING_BIN_DIST=YES
31 $(MAKE) -C docs install-docs DOING_BIN_DIST=YES
32 $(MAKE) -C libraries/Cabal/doc install-docs DOING_BIN_DIST=YES
33 $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(libdir)
35 install :: postinstall denounce
39 @echo =======================================================================
40 @echo Installation of $(package)-$(version) was successful.
42 @echo To use, add $(bindir) to your PATH.
44 @if test -f share/html/index.html; then \
45 echo For documentation, see $(htmldir)/index.html ; \
46 elif test -d share/html ; then \
47 echo Docs can be found in $(htmldir). ; \
49 echo "Warning: this binary distribution does NOT contain documentation!" ; \
51 @echo =======================================================================
54 @if test -x "./post-install-script" ; then \
55 echo "Running project-specific post-install script ..." ; \
56 ./post-install-script $(platform) $(libdir) ; \
61 @echo "Install setup..."
62 @echo "bindir = $(bindir)"
63 @echo "libdir = $(libdir) (libdir = $(libdir))"
64 @echo "datadir = $(datadir) (datadir = $(datadir))"