summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/cmake_release_unix_config.sh2
-rwxr-xr-xUtilities/cmake_release_unix_package.sh6
2 files changed, 4 insertions, 4 deletions
diff --git a/Utilities/cmake_release_unix_config.sh b/Utilities/cmake_release_unix_config.sh
index 7efd0ec..2f63332 100755
--- a/Utilities/cmake_release_unix_config.sh
+++ b/Utilities/cmake_release_unix_config.sh
@@ -40,7 +40,7 @@ CFLAGS=""
CXXFLAGS=""
PREFIX="/usr/local"
INSTALL_SUBDIRS="bin share doc"
-
+DOC_DIR="/doc/cmake"
# Functions can be replaced by configuration file.
# Create extra files in the installation tree. This allows
diff --git a/Utilities/cmake_release_unix_package.sh b/Utilities/cmake_release_unix_package.sh
index 1ee9b0d..9b8396e 100755
--- a/Utilities/cmake_release_unix_package.sh
+++ b/Utilities/cmake_release_unix_package.sh
@@ -36,11 +36,11 @@ CreateExtraFiles
# Create the manifest file.
echo "Writing MANIFEST..."
-${MKDIR} -p ${INSTALL_DIR}${PREFIX}/doc/cmake
-${TOUCH} ${INSTALL_DIR}${PREFIX}/doc/cmake/MANIFEST
+${MKDIR} -p ${INSTALL_DIR}${PREFIX}${DOC_DIR}
+${TOUCH} ${INSTALL_DIR}${PREFIX}${DOC_DIR}/MANIFEST
cd ${INSTALL_DIR}${PREFIX}
FILES=`${FIND} ${INSTALL_SUBDIRS} -type f |sed 's/^\.\///'`
-${CAT} >> ${INSTALL_DIR}${PREFIX}/doc/cmake/MANIFEST <<EOF
+${CAT} >> ${INSTALL_DIR}${PREFIX}${DOC_DIR}/MANIFEST <<EOF
${FILES}
EOF