diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/scripts.mk | 2 | ||||
-rw-r--r-- | mk/subdir.mk | 2 | ||||
-rw-r--r-- | mk/sys.mk | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/mk/scripts.mk b/mk/scripts.mk index c0b44db0..7528c274 100644 --- a/mk/scripts.mk +++ b/mk/scripts.mk @@ -53,6 +53,6 @@ check test:: # so we ensure that it has a bogus argument CLEANFILES+= ${OBJS} clean: - @if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi + @if test -n "${CLEANFILES}"; then echo "rm -f ${CLEANFILES}"; rm -f ${CLEANFILES}; fi include ${MK}/gitignore.mk diff --git a/mk/subdir.mk b/mk/subdir.mk index a5f05b81..7f198f8b 100644 --- a/mk/subdir.mk +++ b/mk/subdir.mk @@ -4,7 +4,7 @@ # Released under the 2-clause BSD license. _+_ ?= + -ECHODIR ?= echo +ECHODIR ?= echo _SUBDIR = @${_+_}for x in ${SUBDIR}; do \ if test -d $$x; then \ ${ECHODIR} "===> ${DIRPRFX}$$x (${@:realinstall=install})"; \ @@ -10,7 +10,7 @@ RANLIB?= ranlib SED?= sed SH= /bin/sh -PREFIX?= +PREFIX?= _UPREFIX_SH= case "${PREFIX}" in "") echo /usr;; *) echo "${PREFIX}";; esac _UPREFIX:= $(shell ${_UPREFIX_SH}) UPREFIX= ${_UPREFIX} @@ -43,6 +43,6 @@ MANDIR?= ${MANPREFIX}/man MANMODE?= 0444 DOCDIR?= ${UPREFIX}/share/doc -DOCMODE?= 0644 +DOCMODE?= 0644 CONFMODE?= 0644 |