4 .PHONY: in-place mk-version-symlinks install-dirs install
7 @if test -x "./post-inplace-script" ; then \
8 echo "Running project-specific post-inplace script ..." ; \
9 ./post-inplace-script $(platform) `pwd` \
10 $(package)-$(version); \
13 @echo "Finished configuring..to use, add `pwd`/bin/$(platform) to your PATH."
16 $(INSTALL_DIR) $(bindir)
17 (cd lib/$(platform); find . -type d -exec sh -c '$(INSTALL_DIR) $$0 $(libdir)/$$0' {} \; )
18 (cd share; find . -type d -exec sh -c '$(INSTALL_DIR) $(datadir)/$$0' {} \; )
20 install :: install-dirs install-driver install-utils install-libs install-datas install-docs postinstall denounce
22 .PHONY: install-libs install-utils install-datas postinstall denounce
26 @echo =======================================================================
27 @echo Installation of $(package)-$(version) was successful.
29 @echo To use, add $(bindir) to your PATH.
31 @if test -f share/html/index.html; then \
32 echo For documentation, see $(htmldir)/index.html ; \
33 elif test -d share/html ; then \
34 echo Docs can be found in $(htmldir). ; \
36 echo "Warning: this binary distribution does NOT contain documentation!" ; \
38 @echo =======================================================================
41 @if test -x "./post-install-script" ; then \
42 echo "Running project-specific post-install script ..." ; \
43 ./post-install-script $(platform) $(libdir) ; \
48 (cd lib/$(platform); find . -type f -exec sh -c '$(CP) $$0 $(libdir)/$$0' {} \; )
49 $(MAKE) -C libraries install DOING_BIN_DIST=YES
52 $(MAKE) -C driver install DOING_BIN_DIST=YES
55 $(MAKE) -C utils install DOING_BIN_DIST=YES
58 set -e; for i in `(cd share; find . -type f )`; do \
59 $(INSTALL_DATA) share/$$i $(datadir)/$$i; \
63 @echo "Install setup..."
64 @echo "bindir = $(bindir)"
65 @echo "libdir = $(libdir) (libdir = $(libdir))"
66 @echo "datadir = $(datadir) (datadir = $(datadir))"
69 # Documentation targets: install-docs.
72 .PHONY: show-install-setup install-docs install-dirs-docs
74 install-docs : install-dirs-docs
75 if test -d share/html ; then $(CP) -r share/html/* $(htmldir) ; fi
76 set -e; for i in share/*.ps; do \
77 if test -f "$$i"; then \
78 $(CP) $$i $(psdir) ; \
83 $(INSTALL_DIR) $(htmldir)