diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-06-21 16:01:18 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-06-21 16:01:18 (GMT) |
commit | 0ff3bdba204fec0671e601be5ff8b7af3ba821c8 (patch) | |
tree | f60e6e69d4d6a809340b5f7441ed29a4b4750495 /Makefile.in | |
parent | 8deccd3c2ea9d0eb5a63b2019a3dec984e7e0ae5 (diff) | |
download | CMake-0ff3bdba204fec0671e601be5ff8b7af3ba821c8.zip CMake-0ff3bdba204fec0671e601be5ff8b7af3ba821c8.tar.gz CMake-0ff3bdba204fec0671e601be5ff8b7af3ba821c8.tar.bz2 |
better install support
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/Makefile.in b/Makefile.in index 5217e5e..89a250c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -7,52 +7,3 @@ all: cd Source; ${MAKE} -# Default top-level directories in which to install architecture- -# specific files (exec_prefix) and machine-independent files such -# as scripts (prefix). The values specified here may be overridden -# at configure-time with the --exec-prefix and --prefix options -# to the "configure" script. - -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -# Directory in which to install the program cmake -BIN_INSTALL_DIR = $(exec_prefix)/bin - -# Directory in which to install the templates and modules -LIB_INSTALL_DIR = $(exec_prefix)/share/CMake - -INSTALL = @srcdir@/install-sh -c -INSTALL_PROGRAM = ${INSTALL} -m 755 -INSTALL_DATA = ${INSTALL} -m 644 - -install: - @for i in $(LIB_INSTALL_DIR)/Modules $(LIB_INSTALL_DIR)/Templates $(BIN_INSTALL_DIR) ; \ - do \ - if [ ! -d $$i ] ; then \ - echo "Making directory $$i"; \ - mkdir -p $$i; \ - chmod 755 $$i; \ - else true; \ - fi; \ - done; - @echo "Installing CMake" - chmod +x @srcdir@/install-sh - @echo "Installing cmake executable" - @$(INSTALL_PROGRAM) Source/cmake $(BIN_INSTALL_DIR)/cmake - @for i in @srcdir@/Modules/*.cmake*; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(LIB_INSTALL_DIR)/Modules; \ - done; - @for i in @srcdir@/Templates/*.cmake*; \ - do \ - echo "Installing $$i"; \ - $(INSTALL_DATA) $$i $(LIB_INSTALL_DIR)/Templates; \ - done; - @echo "Installing configure" - @$(INSTALL_PROGRAM) @srcdir@/Templates/configure $(LIB_INSTALL_DIR)/Templates - @echo "Installing install-sh" - @$(INSTALL_PROGRAM) @srcdir@/install-sh $(LIB_INSTALL_DIR)/Templates - - |