Lines 2046-2059
MAKE_ENV+= ${INSTALL_MACROS}
Link Here
|
2046 |
SCRIPTS_ENV+= ${INSTALL_MACROS} |
2046 |
SCRIPTS_ENV+= ${INSTALL_MACROS} |
2047 |
|
2047 |
|
2048 |
# Macro for copying entire directory tree with correct permissions |
2048 |
# Macro for copying entire directory tree with correct permissions |
2049 |
COPYTREE_BIN= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ |
2049 |
# In the -exec shell commands, we add add a . as the first argument, it would |
2050 |
2>&1) && \ |
2050 |
# end up being $0 aka the script name, which is not part of $@, so we force it |
2051 |
${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ |
2051 |
# to be able to use $@ directly. |
2052 |
${FIND} -d $$0 $$2 -type f -exec chmod ${BINMODE} $$1/{} \;' -- |
2052 |
COPYTREE_BIN= ${SH} -c '(${FIND} -Ed $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null 2>&1) && \ |
2053 |
COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \ |
2053 |
${FIND} -Ed $$0 $$2 \( -type d -exec ${SH} -c '\''cd '\''$$1'\'' && chmod 755 "$$@"'\'' -- . {} + \ |
2054 |
2>&1) && \ |
2054 |
-o -type f -exec ${SH} -c '\''cd '\''$$1'\'' && chmod ${BINMODE} "$$@"'\'' -- . {} + \)' -- |
2055 |
${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \; && \ |
2055 |
COPYTREE_SHARE= ${SH} -c '(${FIND} -Ed $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null 2>&1) && \ |
2056 |
${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' -- |
2056 |
${FIND} -Ed $$0 $$2 \( -type d -exec ${SH} -c '\''cd '\''$$1'\'' && chmod 755 "$$@"'\'' -- . {} + \ |
|
|
2057 |
-o -type f -exec ${SH} -c '\''cd '\''$$1'\'' && chmod ${SHAREMODE} "$$@"'\'' -- . {} + \)' -- |
2057 |
|
2058 |
|
2058 |
# The user can override the NO_PACKAGE by specifying this from |
2059 |
# The user can override the NO_PACKAGE by specifying this from |
2059 |
# the make command line |
2060 |
# the make command line |