diff options
author | Roy Marples <roy@marples.name> | 2008-01-30 10:02:53 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-30 10:02:53 +0000 |
commit | 2be93c3e0e9195df748a7be4e3636db7799b1a72 (patch) | |
tree | d7278c5c789cfa7927b2c075b5438810a334a494 /mk/scripts.mk | |
parent | 4f6e778758a03ceec5a9b1caf09a4d1e7d171fb4 (diff) |
Specify install modes for all our files.
Diffstat (limited to 'mk/scripts.mk')
-rw-r--r-- | mk/scripts.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk index cf980c84..9bee14d1 100644 --- a/mk/scripts.mk +++ b/mk/scripts.mk @@ -13,18 +13,18 @@ all: ${OBJS} realinstall: ${BIN} ${CONF} ${CONF_APPEND} if test -n "${DIR}"; then ${INSTALL} -d ${DESTDIR}${DIR} || exit $$?; fi - if test -n "${BIN}"; then ${INSTALL} ${BIN} ${DESTDIR}${DIR} || exit $$?; fi - if test -n "${INC}"; then ${INSTALL} -m 0644 ${INC} ${DESTDIR}${DIR} || exit $$?; fi + if test -n "${BIN}"; then ${INSTALL} -m ${BINMODE} ${BIN} ${DESTDIR}${DIR} || exit $$?; fi + if test -n "${INC}"; then ${INSTALL} -m ${INCMODE} ${INC} ${DESTDIR}${DIR} || exit $$?; fi for x in ${CONF}; do \ if ! test -e ${DESTDIR}${DIR}/$$x; then \ - ${INSTALL} -m 0644 $$x ${DESTDIR}${DIR} || exit $$?; \ + ${INSTALL} -m ${CONFMODE} $$x ${DESTDIR}${DIR} || exit $$?; \ fi; \ done for x in ${CONF_APPEND}; do \ if test -e ${DESTDIR}${DIR}/$$x; then \ cat $$x >> ${DESTDIR}${DIR}/$$x || exit $$?; \ else \ - ${INSTALL} -m 0644 $$x ${DESTDIR}${DIR} || exit $$?; \ + ${INSTALL} -m ${CONFMODE} $$x ${DESTDIR}${DIR} || exit $$?; \ fi; \ done |