4 .PHONY: 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 $(INSTALL_DIR) $(bindir)
21 $(MAKE) -C includes install DOING_BIN_DIST=YES
22 $(MAKE) -C driver install DOING_BIN_DIST=YES
23 $(MAKE) -C utils install DOING_BIN_DIST=YES
24 $(MAKE) -C rts install DOING_BIN_DIST=YES
25 $(MAKE) -C libraries install DOING_BIN_DIST=YES
26 $(MAKE) -C compiler install DOING_BIN_DIST=YES
27 $(MAKE) -C docs install-docs DOING_BIN_DIST=YES
28 $(INSTALL_DATA) $(INSTALL_OPTS) extra-gcc-opts $(libdir)
30 install :: postinstall denounce
34 @echo =======================================================================
35 @echo Installation of $(package)-$(version) was successful.
37 @echo To use, add $(bindir) to your PATH.
39 @if test -f share/html/index.html; then \
40 echo For documentation, see $(htmldir)/index.html ; \
41 elif test -d share/html ; then \
42 echo Docs can be found in $(htmldir). ; \
44 echo "Warning: this binary distribution does NOT contain documentation!" ; \
46 @echo =======================================================================
49 @if test -x "./post-install-script" ; then \
50 echo "Running project-specific post-install script ..." ; \
51 ./post-install-script $(platform) $(libdir) ; \
56 @echo "Install setup..."
57 @echo "bindir = $(bindir)"
58 @echo "libdir = $(libdir) (libdir = $(libdir))"
59 @echo "datadir = $(datadir) (datadir = $(datadir))"